HomePhabricator

[WinEH] Add cleanupendpad instruction

Description

[WinEH] Add cleanupendpad instruction

Summary:
Add a cleanupendpad instruction, used to mark exceptional exits out of
cleanups (for languages/targets that can abort a cleanup with another
exception). The cleanupendpad instruction is similar to the catchendpad
instruction in that it is an EH pad which is the target of unwind edges in
the handler and which itself has an unwind edge to the next EH action.
The cleanupendpad instruction, similar to cleanupret has a cleanuppad
argument indicating which cleanup it exits. The unwind successors of a
cleanuppad's cleanupendpads must agree with each other and with its
cleanuprets.

Update WinEHPrepare (and docs/tests) to accomodate cleanupendpad.

Reviewers: rnk, andrew.w.kaylor, majnemer

Subscribers: llvm-commits

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

Details

Committed
josephtSep 3 2015, 2:09 AM
Differential Revision
D12433: [WinEH] Add cleanupendpad instruction
Parents
rL246750: AVX512: Implemented encoding and intrinsics for vplzcntq, vplzcntdā€¦
Branches
Unknown
Tags
Unknown