[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)
commite5b064205ac22c0cd3ad67f317f0c5bbbbb53059
tree17c75f0196cd05352620f00da7bca181a311ace3
parent31a1bb0c146aae195308b4b1c8154ba5aced80ce
[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.

llvm-svn: 234448
clang/lib/CodeGen/CGCleanup.cpp
clang/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp