[WinEH] Tighten parentPad verifier checks
authorJoseph Tremoulet <jotrem@microsoft.com>
Sat, 2 Jan 2016 15:24:24 +0000 (15:24 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Sat, 2 Jan 2016 15:24:24 +0000 (15:24 +0000)
commit3c6a15b1cc56929f36fb4192d074942621c46182
tree031a8cf70b71d2d1946fa65b2cbad1f1c1340c7a
parentd5ab13d9660be2ecec4e2ad44ac416e66ba1c413
[WinEH] Tighten parentPad verifier checks

Summary: A catchswitch cannot be a parent of a cleanuppad or another catchswitch.

Reviewers: rnk, andrew.w.kaylor, majnemer

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256690 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/Bitcode/compatibility.ll
test/Verifier/invalid-eh.ll