[all-commits] [llvm/llvm-project] afd360: [libc++abi][AIX] Enable calculating addresses with...

xingxue-ibm via All-commits all-commits at lists.llvm.org
Wed Jun 23 14:56:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afd3607c8f369a4f1989387cb1eed35976968c89
      https://github.com/llvm/llvm-project/commit/afd3607c8f369a4f1989387cb1eed35976968c89
  Author: Xing Xue <xingxue at outlook.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M libcxxabi/src/cxa_personality.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list