[PATCH] D17208: [WinEH] Prevent EH state numbering from skipping nested cleanup pads that never return
Andy Kaylor via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 12:20:25 PST 2016
andrew.w.kaylor created this revision.
andrew.w.kaylor added a reviewer: majnemer.
andrew.w.kaylor added a subscriber: llvm-commits.
andrew.w.kaylor set the repository for this revision to rL LLVM.
This patch addresses a problem with EH state numbering for C++ EH and SEH where a nested cleanup pad that is post-dominated by an unreachable instruction will be skipped by the EH state numbering routines. This leads to an assertion failure later in the code generation process when we try to retrieve the EH state for that cleanup pad.
Repository:
rL LLVM
http://reviews.llvm.org/D17208
Files:
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/WinEH/wineh-noret-cleanup.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17208.47830.patch
Type: text/x-patch
Size: 5097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160212/70aa1d4f/attachment.bin>
More information about the llvm-commits
mailing list