[Lldb-commits] [PATCH] D141629: Run address expression argument values through ABI::FixCodeAddress to strip TBI/pointer auth bytes on AArch64

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 19 16:07:14 PST 2023


JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.

Someday I'd like to have a decorator that's a bit smarter and allows us to run these tests if the test compiler has ptrauth/PAC support and the host can run it. At least then these tests would automatically run for us (and maybe you) downstream. But with the current state of things this is as good as it gets.



================
Comment at: lldb/source/Interpreter/OptionArgParser.cpp:161-162
       error_ptr->Clear();
+    Process *process = exe_ctx->GetProcessPtr();
+    if (process)
+      if (ABISP abi_sp = process->GetABI())
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141629/new/

https://reviews.llvm.org/D141629



More information about the lldb-commits mailing list