llvm-project/lldb/test/API
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
..
android/platform [lldb] Remove lldbtest.getBuildFlags 2021-12-30 12:19:24 +01:00
api [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
arm [lldb/test] Skip TestBreakpointThumbCodesection on arm64. 2020-06-25 16:20:27 -07:00
assert_messages_test [lldb] Introduce createTestTarget for creating a valid target in API tests 2021-05-24 16:18:44 +02:00
benchmarks [lldb/Test] Add a trace method to replace print statements. 2020-05-25 11:11:46 -07:00
commands [lldb] Correctly display the number of types found 2022-01-15 10:31:49 -08:00
driver/batch_mode [LLDB] Skip random fails on Arm/AArch64 Linux buildbot 2021-08-09 13:53:48 +05:00
functionalities [lldb] [gdb-remote] Support client fallback for servers without reg defs 2022-01-17 22:31:49 +01:00
iohandler [LLDB] Skip TestIOHandlerPythonREPLSigint.py on AArch64/Linux 2022-01-15 03:24:26 +05:00
lang [lldb] Remove anon struct from frame-var-anon-unions test 2022-01-15 10:20:52 -08:00
linux [lldb] Remove non-address bits from addresses given to memory tag commands 2022-01-20 10:48:14 +00:00
lua_api [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
macosx [lldb] Specify LLVM target requirements in TestLaunchProcessPosixSpawn 2022-01-11 19:00:47 -08:00
python_api [lldb] Introduce SBPlatform::SetSDKRoot 2022-01-19 12:49:47 +01:00
qemu [lldb/qemu] Set qemu's "ld prefix" based on the platform sysroot 2022-01-03 14:48:13 +01:00
repl/clang [LLDB] Skip TestClangREPL.py on Arm/AArch64 Linux 2021-10-04 11:50:17 +05:00
sample_test [lldb] Readd deleted variable in the sample test 2021-05-24 16:29:25 +02:00
sanity
source-manager [lldb/Target] Refine source display warning for artificial locations (NFC) 2021-12-09 14:38:14 -08:00
terminal [LLDB] Skip flaky tests on Arm/AArch64 Linux bots 2021-08-04 16:57:36 +05:00
test_runner/test
test_utils [lldb/test] Print build commands in trace mode 2021-10-29 11:33:31 +02:00
tools [lldb] [llgs] Implement qXfer:siginfo:read 2022-01-13 11:24:36 +01:00
types [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
CMakeLists.txt [lldb] Copy the system debugserver in LLDB.framework 2021-09-24 15:07:22 -07:00
dotest.py
get_darwin_real_python.py [lldb/test][Darwin] Ask dyld where the real python is 2020-05-08 10:22:58 -07:00
lit.cfg.py [lldb] Use lit_config.note to print module cache message 2022-01-07 13:35:18 -08:00
lit.site.cfg.py.in [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
lldbtest.py [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
use_lldb_suite.py [lldb/test] Use realpath consistently for test root file paths. 2020-08-05 11:35:37 -07:00