]> granicus.if.org Git - clang/commit
Add the 'noinline' attribute to call sites within __try bodies
authorReid Kleckner <reid@kleckner.net>
Wed, 11 Feb 2015 21:40:48 +0000 (21:40 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 11 Feb 2015 21:40:48 +0000 (21:40 +0000)
commitffb8cef8cfc53b54c8007b52e75cae492c014bb4
tree04ef9ef38e40420ac632715839cf3144ef33159f
parent37e0a8dd6693940049c882585f5b1d28af0feaef
Add the 'noinline' attribute to call sites within __try bodies

LLVM doesn't support non-call exceptions, so inlining makes it harder to
catch such asynchronous exceptions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228876 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/exceptions-seh.c
test/CodeGenCXX/exceptions-seh.cpp