A catchswitch cannot be a parent of a cleanuppad or another catchswitch.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D15841
[WinEH] Tighten parentPad verifier checks ClosedPublic Authored by JosephTremoulet on Jan 1 2016, 5:25 PM.
Details Summary A catchswitch cannot be a parent of a cleanuppad or another catchswitch.
Diff Detail Event TimelineJosephTremoulet updated this object. This revision is now accepted and ready to land.Jan 1 2016, 11:20 PM
Revision Contents
Diff 43841 lib/IR/Verifier.cpp
test/Bitcode/compatibility.ll
test/Verifier/invalid-eh.ll
|
I guess we can simplify this by writing it as isa<ConstantTokenNone>(ParentPad) || isa<FuncletEHPadInst>(ParentPad).