llvm-project/lldb
David Spickett 0df522969a Revert "Reland "[lldb] Remove non address bits when looking up memory regions""
This reverts commit fac3f20de5.

I found this has broken how we detect the last memory region in
GetMemoryRegions/"memory region" command.

When you're debugging an AArch64 system with pointer authentication,
the ABI plugin will remove the top bit from the end address of the last
user mapped area.

(lldb)
[0x0000fffffffdf000-0x0001000000000000) rw- [stack]

ABI plugin removes anything above the 48th bit (48 bit virtual addresses
by default on AArch64, leaving an address of 0.

(lldb)
[0x0000000000000000-0x0000000000400000) ---

You get back a mapping for 0 and get into an infinite loop.
2021-11-26 15:35:02 +00:00
..
bindings Fixed use of -o and -k in LLDB under Windows when statically compiled with vcruntime. 2021-11-24 16:17:08 +00:00
cmake Revert "Use `GNUInstallDirs` to support custom installation dirs. -- LLVM" 2021-11-02 19:11:44 +01:00
docs [NFC] Trim trailing whitespace in *.rst 2021-11-15 09:17:08 +08:00
examples [formatters] List and forward_list capping_size determination and application 2021-11-23 14:18:51 -08:00
include/lldb Revert "Reland "[lldb] Remove non address bits when looking up memory regions"" 2021-11-26 15:35:02 +00:00
packages/Python [LLDB/test] lldbutil check_breakpoint() - check target instance 2021-11-24 11:13:17 +00:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source Revert "Reland "[lldb] Remove non address bits when looking up memory regions"" 2021-11-26 15:35:02 +00:00
test Revert "Reland "[lldb] Remove non address bits when looking up memory regions"" 2021-11-26 15:35:02 +00:00
third_party/Python/module [lldb][NFC] Inclusive language: replace master/slave names for ptys 2021-11-12 10:54:18 -06:00
tools [lldb/gdb-remote] Ignore spurious ACK packets 2021-11-25 12:34:08 +01:00
unittests [LLDB] Provide target specific directories to libclang 2021-11-25 21:27:02 +03:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
.gitignore
CMakeLists.txt [lldb] remove usage of distutils, fix python path on debian/ubuntu 2021-11-17 13:14:30 -08:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py