[libc++abi] NFC: adding a new parameter base to functions for calculating address...
authorXing Xue <xingxue@outlook.com>
Thu, 10 Jun 2021 14:45:50 +0000 (10:45 -0400)
committerXing Xue <xingxue@outlook.com>
Thu, 10 Jun 2021 14:45:50 +0000 (10:45 -0400)
commit7f0244afa828e0ef725a3f951304577090495713
tree2d687dc45362cba240743d050730e101abf74531
parent407c11b56337aab1b0c9880aa2f6ad1a348083c8
[libc++abi] NFC: adding a new parameter base to functions for calculating addresses with relative encodings

    Summary:
    This NFC patch adds a new parameter base to functions invoked by scan_eh_tab() for calculating the address of the encoding with a relative value. base defaults to 0. This is in preparation for the AIX implementation which uses the DW_EH_PE_datarel encoding.

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

    Differential Revision: https://reviews.llvm.org/D101545
libcxxabi/src/cxa_personality.cpp