diff --git a/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h b/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h --- a/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h +++ b/lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h @@ -62,6 +62,12 @@ return true; } + lldb::addr_t FixCodeAddress(lldb::addr_t pc) override { + // Short term workaround to remove any pointer authentication codes. This + // should be removed once full PAC support is added. + return pc & 0x0000000FFFFFFFFF; + } + // Static Functions static void Initialize();