[WinEH] Don't emit an exceptional cleanup for llvm.eh.endcatch
authorReid Kleckner <reid@kleckner.net>
Wed, 22 Apr 2015 23:39:15 +0000 (23:39 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 22 Apr 2015 23:39:15 +0000 (23:39 +0000)
commit7d4bc9c0fb925df6dc812969cb9aa7aa2ec2fd35
tree96c9f1f2fc65b2c54d2a6eef445aad17c93358a7
parent15823d49b61fc7ddafc2cb10b12f4498d53fb216
[WinEH] Don't emit an exceptional cleanup for llvm.eh.endcatch

These extra endcatch markers aren't helping identify regions to outline,
so let's get rid of them.  LLVM outlines (more or less) from begincatch
to endcatch.  Any unwind edge from an enclosed invoke is a transition to
a new exception handler, which has it's own outlining markers.

llvm-svn: 235562
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp