[WinEH] Update CoreCLR EH for catchpad MBBs
authorJoseph Tremoulet <jotrem@microsoft.com>
Wed, 7 Oct 2015 17:16:25 +0000 (17:16 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Wed, 7 Oct 2015 17:16:25 +0000 (17:16 +0000)
commit95b25773a76b1fa20a8ff76cfbd630ccbc76cfb2
tree4b979d0723a7bfcd83b5946e39a11e8fc9652c00
parent21348cfda233e9acb175f7025c123b4d30c238f9
[WinEH] Update CoreCLR EH for catchpad MBBs

Summary:
Set the pad MBB as a funclet entry for CoreCLR as well as MSVCCXX, and
update state numbering to put the catchpad block rather than its normal
successor into the unwind map.

Reviewers: majnemer

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D13492

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/WinEHPrepare.cpp