[Lldb-commits] [PATCH] D102757: [lldb] Remove non address bits when looking up memory regions
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 19 03:53:10 PDT 2021
DavidSpickett created this revision.
Herald added a subscriber: kristof.beyls.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This is based on https://reviews.llvm.org/D99944.
On AArch64 we have various things using the non address bits
of pointers. This means when you lookup their containing region
you won't find it if you don't remove them.
This changes Process GetMemoryRegionInfo to a non virtual method
that uses the current ABI plugin to remove those bits. Then it
That function does the actual work and is virtual to be overriden
by Process implementations.
A test case is added that runs on AArch64 Linux.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14396 bytes
Desc: not available
More information about the lldb-commits