llvm-project/lldb/docs
David Spickett 32541685b2 [lldb][AArch64/Linux] Show memory tagged memory regions
This extends the "memory region" command to
show tagged regions on AArch64 Linux when the MTE
extension is enabled.

(lldb) memory region the_page
[0x0000fffff7ff8000-0x0000fffff7ff9000) rw-
memory tagging: enabled

This is done by adding an optional "flags" field to
the qMemoryRegion packet. The only supported flag is
"mt" but this can be extended.

This "mt" flag is read from /proc/{pid}/smaps on Linux,
other platforms will leave out the "flags" field.

Where this "mt" flag is received "memory region" will
show that it is enabled. If it is not or the target
doesn't support memory tagging, the line is not shown.
(since majority of the time tagging will not be enabled)

Testing is added for the existing /proc/{pid}/maps
parsing and the new smaps parsing.
Minidump parsing has been updated where needed,
though it only uses maps not smaps.

Target specific tests can be run with QEMU and I have
added MTE flags to the existing helper scripts.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D87442
2020-11-20 11:21:59 +00:00
..
_static [lldb][docs] Add CMake version notes for -B flag 2019-07-31 10:31:57 +00:00
design [lldb] Add a "design" section to the documentation. 2020-10-02 13:07:31 -07:00
man [lldb/interpreter] Improve REPL init file compatibility 2020-09-02 01:21:22 +02:00
resources [lldb] Update docs with new buildbot URLs 2020-10-09 10:57:39 -07:00
status [lldb/Docs] Update the features matrix 2020-02-18 20:08:43 -08:00
testsuite Rename MacOS X -> macOS where applicable. 2019-05-14 16:37:43 +00:00
use [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
.htaccess [lldb] Add a "design" section to the documentation. 2020-10-02 13:07:31 -07:00
CMakeLists.txt [lldb/CMake] Separate CMake code for Lua and Python (NFC) 2020-08-11 09:04:18 -07:00
conf.py [lldb] Add print_function import 2020-09-28 13:51:11 -07:00
doxygen-mainpage.dox [Docs] Make Doxygen functional 2019-04-19 18:02:35 +00:00
doxygen.cfg.in [Doxygen] Document private class members. 2019-08-21 00:10:19 +00:00
index.rst [lldb] Add a page to the docs with (external) links on how to use LLDB 2020-10-20 11:43:31 -07:00
lldb-for-gdb-users.txt
lldb-gdb-remote.txt [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
lldb-platform-packets.txt [lldb] Correct vFile:pread/pwrite packet docs 2020-10-27 11:47:35 +00:00