]> granicus.if.org Git - clang/commit
Don't emit exceptional stackrestore cleanups around inalloca functions
authorReid Kleckner <rnk@google.com>
Thu, 8 Oct 2015 00:17:45 +0000 (00:17 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 8 Oct 2015 00:17:45 +0000 (00:17 +0000)
commitf04251164bda9dc7b6701666d135a7b065500c0b
tree3f162cbe6e1ace8d449d02d9a3ef288462e1c2f2
parentbf978b5a0b576db9fb82c86a18f147f2726c91d9
Don't emit exceptional stackrestore cleanups around inalloca functions

The backend restores the stack pointer after recovering from an
exception.  This is similar to r245879, but it doesn't try to use the
normal cleanup mechanism, so hopefully it won't cause the same breakage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249640 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGCall.h
test/CodeGenCXX/microsoft-abi-arg-order.cpp
test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp