[all-commits] [llvm/llvm-project] efa43d: [lldb][AArch64] Add the tpidr2 TLS register that c...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Jul 26 02:34:29 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: efa43d785ee600ef4cc14589e4777264f0613ec9
https://github.com/llvm/llvm-project/commit/efa43d785ee600ef4cc14589e4777264f0613ec9
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
R lldb/test/API/linux/aarch64/tls_register/Makefile
R lldb/test/API/linux/aarch64/tls_register/TestAArch64LinuxTLSRegister.py
R lldb/test/API/linux/aarch64/tls_register/main.c
A lldb/test/API/linux/aarch64/tls_registers/Makefile
A lldb/test/API/linux/aarch64/tls_registers/TestAArch64LinuxTLSRegisters.py
A lldb/test/API/linux/aarch64/tls_registers/main.c
Log Message:
-----------
[lldb][AArch64] Add the tpidr2 TLS register that comes with SME
This changes the TLS regset to not only be dynamic in that it could
exist or not (though it always does) but also of a dynamic size.
If SME is present then the regset is 16 bytes and contains both tpidr
and tpidr2.
Testing is the same as tpidr. Write from assembly, read from lldb and
vice versa since we have no way to predict what its value should be
by just running a program.
Reviewed By: omjavaid
Differential Revision: https://reviews.llvm.org/D154930
More information about the All-commits
mailing list