[lldb][AArch64/Linux] Show memory tagged memory regionsThis extends the "memory region" command toshow tagged regions on AArch64 Linux when the MTEextension is enabled.(lldb) memory region the_
[lldb][AArch64/Linux] Show memory tagged memory regionsThis extends the "memory region" command toshow tagged regions on AArch64 Linux when the MTEextension is enabled.(lldb) memory region the_page[0x0000fffff7ff8000-0x0000fffff7ff9000) rw-memory tagging: enabledThis is done by adding an optional "flags" field tothe 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" willshow that it is enabled. If it is not or the targetdoesn'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}/mapsparsing 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 haveadded MTE flags to the existing helper scripts.Reviewed By: labathDifferential Revision: https://reviews.llvm.org/D87442
show more ...
[lldb] Correct --help output for qemu rootfs scriptIt was printing "Usage:" twice.Reviewed By: omjavaidDifferential Revision: https://reviews.llvm.org/D90225
[LLDB] Add QEMU testing environment setup guide for SVE testingThis patch adds a HowTo document to lldb docs which gives instruction forsetting up a virtual environment based on QEMU emulator for
[LLDB] Add QEMU testing environment setup guide for SVE testingThis patch adds a HowTo document to lldb docs which gives instruction forsetting up a virtual environment based on QEMU emulator for LLDB testing.Instruction in this document are tested on Arm and AArch64 targets butcan easily be duplicated for other targets supported by QEMU.This helps test LLDB in absence for modern AArch64 features not releasedin publicly available hardware till date.Reviewed By: labathDifferential Revision: https://reviews.llvm.org/D82064