[Lldb-commits] [PATCH] D151292: lldb WIP/RFC: Adding support for address fixing on AArch64 with high and low memory addresses

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 31 18:17:34 PDT 2023


jasonmolenda updated this revision to Diff 527251.
jasonmolenda added a comment.

Updated patch with Alex and Jonas' feedback incorporated.  Most significantly, instead of making target.process.virtual-addressable-bits an array of uint values (between zero to two of them), I am leaving virtual-addressable-bits as-is, and adding a new target.process.highmem-virtual-addressable-bits setting.  When this is set, its value will be used for setting high-memory signed addresses on AArch64 using the Apple ABI plugin.  And the value in virtual-addressable-bits will be used for clearing low-memory signed addresses on AArch64 Apple.  If this new highmem-virtual-addressable-bits is not set (the 99.9% most common case), virtual-addressable-bits applies to both address ranges.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151292

Files:
  lldb/include/lldb/Target/Process.h
  lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
  lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
  lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  lldb/source/Target/Process.cpp
  lldb/source/Target/TargetProperties.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151292.527251.patch
Type: text/x-patch
Size: 10018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230601/51b08674/attachment-0001.bin>


More information about the lldb-commits mailing list