diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-03-11 18:36:39 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-03-11 18:36:39 +0000 |
commit | dfa6d2067c8c782c83be69a61fe59a0240535df6 (patch) | |
tree | 6223cf5bbe42de63a13b9301deb125b41e56de86 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 4320495319466c12543985ff7e653aedf81f8f36 (diff) | |
download | llvm-dfa6d2067c8c782c83be69a61fe59a0240535df6.zip llvm-dfa6d2067c8c782c83be69a61fe59a0240535df6.tar.gz llvm-dfa6d2067c8c782c83be69a61fe59a0240535df6.tar.bz2 |
MS ABI: Implement copy-ctor closures, finish implementing throw
This adds support for copy-constructor closures. These are generated
when the C++ runtime has to call a copy-constructor with a particular
calling convention or with default arguments substituted in to the call.
Because the runtime has no mechanism to call the function with a
different calling convention or know-how to evaluate the default
arguments at run-time, we create a thunk which will do all the
appropriate work and package it in a way the runtime can use.
Differential Revision: http://reviews.llvm.org/D8225
llvm-svn: 231952
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions