HomePhabricator

[libc++abi][AIX] Enable calculating addresses with DW_EH_PE_datarel

Authored by xingxue on Jun 23 2021, 2:54 PM.

Description

[libc++abi][AIX] Enable calculating addresses with DW_EH_PE_datarel

Summary:
This patch enables calculating relative addresses with the DW_EH_PE_datarel encoding using a 'base' for AIX. After setting registers for jumping to the user code in gxx_personality_v0(), 'base' is cached in exception_header member catchTemp for use in __cxa_call_unexpected if ttypeIndex is less than 0 (exception spec).

Reviewed by: MaskRay, sfertile, compnerd, libc++abi

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

Details

Committed
xingxueJun 23 2021, 2:54 PM
Reviewer
MaskRay
Differential Revision
D101298: [libc++abi][AIX] Enable calculating addresses with DW_EH_PE_datarel
Parents
rGf36703ada3dc: [SjLj] Insert UnregisterFn before musttail call
Branches
Unknown
Tags
Unknown