[WinEH] Disallow cyclic unwinds
authorJoseph Tremoulet <jotrem@microsoft.com>
Sun, 10 Jan 2016 04:31:05 +0000 (04:31 +0000)
committerJoseph Tremoulet <jotrem@microsoft.com>
Sun, 10 Jan 2016 04:31:05 +0000 (04:31 +0000)
commit12b6cd2e546a2fa001fdcb8bca0027e4dae45514
treec8ad65ee23642df3286d77aee6f0c515628df910
parentc2d8241d67ed0b22c6de6842bd8608f3b962bee9
[WinEH] Disallow cyclic unwinds

Summary:
Funclet-based EH personalities/tables likely can't handle these, and they
can't be generated at source, so make them officially illegal in IR as
well.

Reviewers: andrew.w.kaylor, rnk, majnemer

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257274 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ExceptionHandling.rst
lib/IR/Verifier.cpp
test/CodeGen/WinEH/wineh-cloning.ll
test/Verifier/invalid-eh.ll