diff options
author | David Spickett <david.spickett@linaro.org> | 2021-02-19 16:31:46 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2021-06-24 17:35:45 +0100 |
commit | 31f9960c38529ce805edf9764535eb0ce188cadf (patch) | |
tree | b18e182035ea3c1ad3aaba93a351c564601f210d /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 10b8eb482cb6dcc4a1c095a2bf1ddd8b85c41571 (diff) | |
download | llvm-31f9960c38529ce805edf9764535eb0ce188cadf.zip llvm-31f9960c38529ce805edf9764535eb0ce188cadf.tar.gz llvm-31f9960c38529ce805edf9764535eb0ce188cadf.tar.bz2 |
[lldb][AArch64] Add "memory tag read" command
This new command looks much like "memory read"
and mirrors its basic behaviour.
(lldb) memory tag read new_buf_ptr new_buf_ptr+32
Logical tag: 0x9
Allocation tags:
[0x900fffff7ffa000, 0x900fffff7ffa010): 0x9
[0x900fffff7ffa010, 0x900fffff7ffa020): 0x0
Important proprties:
* The end address is optional and defaults to reading
1 tag if ommitted
* It is an error to try to read tags if the architecture
or process doesn't support it, or if the range asked
for is not tagged.
* It is an error to read an inverted range (end < begin)
(logical tags are removed for this check so you can
pass tagged addresses here)
* The range will be expanded to fit the tagging granule,
so you can get more tags than simply (end-begin)/granule size.
Whatever you get back will always cover the original range.
Reviewed By: omjavaid
Differential Revision: https://reviews.llvm.org/D97285
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions