OSDN Git Service

[WinEH] Verify catchswitch handlers
authorJoseph Tremoulet <jotrem@microsoft.com>
Sat, 2 Jan 2016 15:25:25 +0000 (15:25 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Sat, 2 Jan 2016 15:25:25 +0000 (15:25 +0000)
commit4505d54875e9e24133b4963df757be97a1bdeb66
treeb4a418b9d562aafe6446bc6aa4e269c53a46da3e
parent3c6a15b1cc56929f36fb4192d074942621c46182
[WinEH] Verify catchswitch handlers

Summary:
The handler list must be nonempty and consist solely of CatchPads.

Reviewers: rnk, andrew.w.kaylor, majnemer

Subscribers: llvm-commits

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

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