[all-commits] [llvm/llvm-project] 7e2292: [lldb][AArch64] Add thread local storage tpidr reg...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Jun 19 04:52:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e229217f4215b519b886e7881bae4da3742a7d2
https://github.com/llvm/llvm-project/commit/7e229217f4215b519b886e7881bae4da3742a7d2
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-06-19 (Mon, 19 Jun 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
A lldb/test/API/linux/aarch64/tls_register/Makefile
A lldb/test/API/linux/aarch64/tls_register/TestAArch64LinuxTLSRegister.py
A lldb/test/API/linux/aarch64/tls_register/main.c
Log Message:
-----------
[lldb][AArch64] Add thread local storage tpidr register
This register is used as the pointer to the current thread
local storage block and is read from NT_ARM_TLS on Linux.
Though tpidr will be present on all AArch64 Linux, I am soon
going to add a second register tpidr2 to this set.
tpidr is only present when SME is implemented, therefore the
NT_ARM_TLS set will change size. This is why I've added this
as a dynamic register set to save changes later.
Reviewed By: omjavaid
Differential Revision: https://reviews.llvm.org/D152516
More information about the All-commits
mailing list