]> granicus.if.org Git - clang/commit
[WinEH] Don't wrap cleanups in terminate actions
authorReid Kleckner <reid@kleckner.net>
Wed, 8 Apr 2015 22:48:50 +0000 (22:48 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 8 Apr 2015 22:48:50 +0000 (22:48 +0000)
commitdbad6778509e98d21c6107067282baa078c37a6e
tree4015d4ec03fe62dc7d7588de09a3f300dd201ba9
parent3d0cff09086cd215ea781b52db8374d72713fb0f
[WinEH] Don't wrap cleanups in terminate actions

_CxxFrameHandler3 calls terminate if a cleanup action throws, regardless
of what bits you put in the xdata tables. There's no need to model this
in the IR, since we just have to take it out later.

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