[all-commits] [llvm/llvm-project] 484bc2: Run cmdline address expressions through ABI's FixA...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Mon Jan 23 10:44:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 484bc2bcc7990f4ecaf40f3d806ed870cdbdfd95
https://github.com/llvm/llvm-project/commit/484bc2bcc7990f4ecaf40f3d806ed870cdbdfd95
Author: Jason Molenda <jason at molenda.com>
Date: 2023-01-23 (Mon, 23 Jan 2023)
Changed paths:
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/source/Interpreter/OptionArgParser.cpp
A lldb/test/API/macosx/ptrauth-address-expressions/Makefile
A lldb/test/API/macosx/ptrauth-address-expressions/TestPtrauthAddressExpressions.py
A lldb/test/API/macosx/ptrauth-address-expressions/main.c
Log Message:
-----------
Run cmdline address expressions through ABI's FixAddress
On systems like ARM, where the non-addressable bits of a pointer
value may be used for metadata (ARMv8.3 pointer authentication, or
Type Byte Ignore), those bits need to be cleared before the address
points to a valid memory location. Add a call to the target's ABI
to clear those from address expression arguments to the lldb
commands (e.g. `disassemble -a`).
Differential Revision: https://reviews.llvm.org/D141629
More information about the All-commits
mailing list