HomePhabricator

Merging r351370:

Description

Merging r351370:

r351370 | mgrang | 2019-01-16 20:52:59 +0100 (Wed, 16 Jan 2019) | 14 lines

[COFF, ARM64] Implement support for SEH extensions try/except/__finally

Summary:
This patch supports MS SEH extensions try/except/__finally. The intrinsics localescape and localrecover are responsible for communicating escaped static allocas from the try block to the handler.

We need to preserve frame pointers for SEH. So we create a new function/property HasLocalEscape.

Reviewers: rnk, compnerd, mstorsjo, TomTan, efriedma, ssijaric

Reviewed By: rnk, efriedma

Subscribers: smeenai, jrmuizel, alex, majnemer, ssijaric, ehsan, dmajor, kristina, javed.absar, kristof.beyls, chrib, llvm-commits

Differential Revision: https://reviews.llvm.org/D53540

Details

Committed
hansJan 17 2019, 7:37 AM
Reviewer
rnk
Differential Revision
D53540: [COFF, ARM64] Implement support for SEH extensions __try/__except/__finally
Parents
rL351450: [llvm-readobj][ELF]Add demangling support
Branches
Unknown
Tags
Unknown