[PATCH] D13374: [WinEH] Fix cleanup state numbering
Joseph Tremoulet via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 20:37:49 PDT 2015
JosephTremoulet created this revision.
JosephTremoulet added a reviewer: rnk.
JosephTremoulet added a subscriber: llvm-commits.
- Recurse from cleanupendpads to their cleanuppads, to make sure the
cleanuppad is visited if it has a cleanupendpad but no cleanupret.
- Check for and avoid double-processing cleanuppads, to allow for them to
have multiple cleanuprets (plus cleanupendpads).
- Update Cxx state numbering to visit toplevel cleanupendpads and to
recurse from cleanupendpads to their preds, to ensure we number any
funclets in inlined cleanups. SEH state numbering already did this.
http://reviews.llvm.org/D13374
Files:
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13374.36329.patch
Type: text/x-patch
Size: 6742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151002/7aee92f6/attachment.bin>
More information about the llvm-commits
mailing list