[Lldb-commits] [PATCH] D98529: [lldb] Strip pointer authentication codes from aarch64 pc.
Justin Cohen via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 15 08:12:19 PDT 2021
justincohen updated this revision to Diff 330667.
justincohen added a comment.
squash
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98529/new/
https://reviews.llvm.org/D98529
Files:
lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
Index: lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
===================================================================
--- lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
+++ 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();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98529.330667.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210315/9ed98b82/attachment.bin>
More information about the lldb-commits
mailing list