llvm-project/lldb/test
David Spickett 787f91b0bb [lldb] Remove non-address bits from addresses given to memory tag commands
Although the memory tag commands use a memory tag manager to handle
addresses, that only removes the top byte.

That top byte is 4 bits of memory tag and 4 free bits, which is more
than it should strictly remove but that's how it is for now.

There are other non-address bit uses like pointer authentication.
To ensure the memory tag manager only has to deal with memory tags,
use the ABI plugin to remove the rest.

The tag access test has been updated to sign all the relevant pointers
and require that we're running on a system with pointer authentication
in addition to memory tagging.

The pointers will look like:
<4 bit user tag><4 bit memory tag><signature><bit virtual address>

Note that there is currently no API for reading memory tags. It will
also have to consider this when it arrives.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D117672
2022-01-20 10:48:14 +00:00
..
API [lldb] Remove non-address bits from addresses given to memory tag commands 2022-01-20 10:48:14 +00:00
Shell [LLDB] Adjust compiler-full-path.test for Windows/Arm64 2022-01-19 19:47:03 +05:00
Unit [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
CMakeLists.txt [lldb] Remove lldb-instr 2022-01-10 11:48:16 -08:00
lit.cfg.py [test] Cleanup top-level lit.cfg.py 2019-10-10 19:51:47 +00:00
lit.site.cfg.py.in [lldb] config.test_exec_root is set by lit.cfg.py 2021-03-22 14:36:43 -07:00