[Lldb-commits] [PATCH] D97285: [lldb][AArch64] Add "memory tag read" command
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 16 08:22:21 PDT 2021
DavidSpickett updated this revision to Diff 330998.
DavidSpickett added a comment.
Expand test to check that we can read tags for a range that spans
two mappings. This covers updated code in GetMemoryTagManager.
Refactor the test file a bit to account for the extra mmap.
I've tested the mmap sequence on my x86 box which has ASLR enabled
and on Qemu. I always get the ordering we want for the test.
I can't cite anything to say it should always work but I didn't
find any feature that goes out of its way to change the ordering
of mmap allocations.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97285/new/
https://reviews.llvm.org/D97285
Files:
lldb/source/Commands/CMakeLists.txt
lldb/source/Commands/CommandObjectMemory.cpp
lldb/source/Commands/CommandObjectMemoryTag.cpp
lldb/source/Commands/CommandObjectMemoryTag.h
lldb/test/API/functionalities/memory/tag/Makefile
lldb/test/API/functionalities/memory/tag/TestMemoryTag.py
lldb/test/API/functionalities/memory/tag/main.cpp
lldb/test/API/linux/aarch64/mte_tag_read/Makefile
lldb/test/API/linux/aarch64/mte_tag_read/TestAArch64LinuxMTEMemoryTagRead.py
lldb/test/API/linux/aarch64/mte_tag_read/main.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97285.330998.patch
Type: text/x-patch
Size: 18556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210316/1ea5dbc6/attachment-0001.bin>
More information about the lldb-commits
mailing list