llvm-project/lldb/docs/use
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
..
formatting.rst [lldb/Target] Add Assert StackFrame Recognizer 2020-02-06 18:27:48 +01:00
links.md [lldb] Add a page to the docs with (external) links on how to use LLDB 2020-10-20 11:43:31 -07:00
map.rst [lldb] add to gdb to lldb doc 2020-01-16 19:56:45 -08:00
python-reference.rst Un-indent the section on 'Writing Target Stop-Hooks in Python' 2020-10-16 23:23:25 -07:00
python.rst
qemu-testing.rst [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
remote.rst [Docs] Modernize references to macOS 2019-05-30 16:46:22 +00:00
symbolication.rst [Docs] Fix (incorrect) code highlighting 2019-08-07 23:12:40 +00:00
symbols.rst Fix typos 2020-01-21 15:32:34 -08:00
troubleshooting.rst Rename MacOS X -> macOS where applicable. 2019-05-14 16:37:43 +00:00
tutorial.rst
variable.rst Fix gendered documentation 2020-10-31 12:17:19 +01:00