]> granicus.if.org Git - clang/commit
MS ABI: Don't push destructor cleanups for aggregate parameters in thunks
authorReid Kleckner <reid@kleckner.net>
Fri, 25 Jul 2014 21:39:46 +0000 (21:39 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 25 Jul 2014 21:39:46 +0000 (21:39 +0000)
commitaea8269867f7610cc2d632215dafc3a3d0c8643c
tree27932702a2c21216bb6742de94aadb7475aa9f5d
parent423eb50d920c9b3f3cc975b1a5df4d191f4d34d1
MS ABI: Don't push destructor cleanups for aggregate parameters in thunks

The target method of the thunk will perform the cleanup.  This can't be
tested in 32-bit x86 yet because passing something by value would create
an inalloca, and we refuse to generate broken code for that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213976 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/microsoft-abi-byval-thunks.cpp [new file with mode: 0644]