[PATCH] D13623: [WinEH] Iterate state changes instead of invokes
Joseph Tremoulet via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 10 12:13:16 PDT 2015
JosephTremoulet created this revision.
JosephTremoulet added reviewers: rnk, majnemer, andrew.w.kaylor.
JosephTremoulet added a subscriber: llvm-commits.
Add an iterator that can walk across blocks and which visits the state
transitions rather than state ranges, with explicit transitions to -1
indicating the presence of top-level calls that may throw and cause the
current function to unwind to caller. This will simplify code that needs
to identify nested try regions.
Refactor SEH and C++EH table generation to use the new
InvokeStateChangeIterator, and remove the InvokeLabelIterator they were
using.
http://reviews.llvm.org/D13623
Files:
lib/CodeGen/AsmPrinter/WinException.cpp
lib/CodeGen/AsmPrinter/WinException.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13623.37032.patch
Type: text/x-patch
Size: 18525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151010/736cedee/attachment.bin>
More information about the llvm-commits
mailing list