[Lldb-commits] [PATCH] D97281: [lldb][AArch64] Add class for managing memory tags
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 23 06:25:04 PST 2021
DavidSpickett created this revision.
Herald added subscribers: danielkiss, kristof.beyls, mgorny.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This adds the MemoryTagManager class and a specialisation
of that class for AArch64 MTE tags. It provides a generic
interface for various tagging operations.
Adding/removing tags, diffing tagged pointers, etc.
Later patches will use this manager to handle memory tags
in generic code in both lldb and lldb-server.
Since it will be used in both, the base class header is in
lldb/Target.
(MemoryRegionInfo is another example of this pattern)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97281
Files:
lldb/include/lldb/Target/MemoryTagManager.h
lldb/source/Plugins/Process/Utility/CMakeLists.txt
lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp
lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.h
lldb/unittests/Process/Utility/CMakeLists.txt
lldb/unittests/Process/Utility/MemoryTagManagerAArch64MTETest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97281.325764.patch
Type: text/x-patch
Size: 17818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210223/ccc336fc/attachment-0001.bin>
More information about the lldb-commits
mailing list