diff options
| author | Reid Kleckner <reid@kleckner.net> | 2013-06-21 12:45:15 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2013-06-21 12:45:15 +0000 |
| commit | 9b60195ad4843c9e2e231673a0dbc0d5c8c6eb2b (patch) | |
| tree | b798c2ab6da7e12b21265d756fd18f02c8634f70 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 8c5f948beae22f1b65b8c29b4ba2ac1e3b7dacb5 (diff) | |
| download | clang-9b60195ad4843c9e2e231673a0dbc0d5c8c6eb2b.tar.gz clang-9b60195ad4843c9e2e231673a0dbc0d5c8c6eb2b.tar.bz2 clang-9b60195ad4843c9e2e231673a0dbc0d5c8c6eb2b.tar.xz | |
[ms-cxxabi] Destroy temporary record arguments in the callee
Itanium destroys them in the caller at the end of the full expression,
but MSVC destroys them in the callee. This is further complicated by
the need to emit EH-only destructor cleanups in the caller.
This should help clang compile MSVC's debug iterators more correctly.
There is still an outstanding issue in PR5064 of a memcpy emitted by the
LLVM backend, which is not correct for C++ records.
Fixes PR16226.
Reviewers: rjmccall
Differential Revision: http://llvm-reviews.chandlerc.com/D929
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
