llvm-project/lldb/unittests/Process/Utility
David Spickett ee0c3820f8 [lldb][AArch64] Add MakeTaggedRanges to MemoryTagManager
This is to be used when you want to know what subranges
of a larger range have memory tagging. Like MakeTaggedRange
but memory without tags is skipped and you get a list of ranges back.

Will be used later by DumpDataExtractor to show memory tags.

MakeTaggedRanges assumes that the memory regions it is
given are sorted in ascending order and do not overlap.
For the current use case where you get regions from
GetMemoryRegions and are on some Linux like OS, this is
reasonable to assume.

I've used asserts to check those conditions. In future
any API binding will check them up front to prevent a crash.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D112824
2022-01-26 11:30:10 +00:00
..
CMakeLists.txt [lldb] Move DynamicRegisterInfo to public Target library 2021-10-05 12:40:55 +02:00
LinuxProcMapsTest.cpp [lldb] Update MemoryRegionInfo ctors in unit tests 2021-08-11 14:13:41 -07:00
MemoryTagManagerAArch64MTETest.cpp [lldb][AArch64] Add MakeTaggedRanges to MemoryTagManager 2022-01-26 11:30:10 +00:00
RegisterContextFreeBSDTest.cpp [lldb] [unittests] Fix building the FreeBSD arm64 Register Context test 2021-09-28 10:51:06 -04:00
RegisterContextNetBSDTest_i386.cpp [lldb] [unittests] Add tests for NetBSD register offsets/sizes 2020-12-17 13:55:42 +01:00
RegisterContextNetBSDTest_x86_64.cpp [lldb] [unittests] Add tests for NetBSD register offsets/sizes 2020-12-17 13:55:42 +01:00
RegisterContextTest.cpp [lldb] Reland "Use translated full ftag values" 2020-11-21 17:11:38 +01:00