aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Architecture.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2021-10-29 16:09:03 +0100
committerDavid Spickett <david.spickett@linaro.org>2022-01-26 11:30:10 +0000
commitee0c3820f8862aaf39d7ad542672092c35dda266 (patch)
tree1acf7d213e7e8047e4374ef8b7a2004b2bd7967c /llvm/lib/TextAPI/Architecture.cpp
parent3271f43680da8126eada63340a19a79fe8b3943b (diff)
downloadllvm-ee0c3820f8862aaf39d7ad542672092c35dda266.zip
llvm-ee0c3820f8862aaf39d7ad542672092c35dda266.tar.gz
llvm-ee0c3820f8862aaf39d7ad542672092c35dda266.tar.bz2
[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
Diffstat (limited to 'llvm/lib/TextAPI/Architecture.cpp')
0 files changed, 0 insertions, 0 deletions