llvm-project/lldb/unittests/Target
David Spickett 37c4bd0fdb [lldb] Add MemoryTagMap class
The tag map holds a sparse set of memory tags and allows
you to query ranges for tags.

Granules that do not have tags will be set to llvm::None.
to keep the ordering intact. If there are no tags for the
requested range we'll just return an empty result so that
callers don't need to check that all values are llvm::None.

This will be combined with MemoryTagManager's MakeTaggedRanges:
* MakeTaggedRanges
* Read from all those ranges
* Insert the results into the tag map
* Give the tag map to whatever needs to print tags

Which in this case will be "memory read"/DumpDataExtractor.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D112825
2022-01-26 13:55:48 +00:00
..
Inputs
ABITest.cpp [lldb] Delete register info definitions in the x86_64 ABI classes 2020-02-17 14:01:36 +01:00
CMakeLists.txt [lldb] Add MemoryTagMap class 2022-01-26 13:55:48 +00:00
DynamicRegisterInfoTest.cpp [lldb] [DynamicRegisterInfo] Remove AddRegister() and make Finalize() protected 2021-10-25 20:05:30 +02:00
ExecutionContextTest.cpp [lldb] Return StringRef from PluginInterface::GetPluginName 2021-10-18 10:14:42 +02:00
FindFileTest.cpp [lldb] Fix a use-after-free in FindFileTest.cpp 2021-11-02 12:39:26 +01:00
MemoryRegionInfoTest.cpp
MemoryTagMapTest.cpp [lldb] Add MemoryTagMap class 2022-01-26 13:55:48 +00:00
ModuleCacheTest.cpp Support build-ids of other sizes than 16 in UUID::SetFromStringRef 2020-06-07 10:03:41 +00:00
PathMappingListTest.cpp [lldb][NFC] avoid unnecessary roundtrips between different string types 2021-11-01 22:15:01 -07:00
RemoteAwarePlatformTest.cpp [lldb] Move GetSupportedArchitectureAtIndex to PlatformDarwin 2021-11-24 15:48:23 +01:00
StackFrameRecognizerTest.cpp [lldb] Store StackFrameRecognizers in the target instead of a global list 2020-07-17 09:26:27 +02:00