[all-commits] [llvm/llvm-project] 6505bc: [LLDB][AArch64] Make TPIDR a generic tp register (...
Jacob Lalonde via All-commits
all-commits at lists.llvm.org
Thu Sep 4 10:38:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6505bc3db02913a44b630c60ed6068ed84100e60
https://github.com/llvm/llvm-project/commit/6505bc3db02913a44b630c60ed6068ed84100e60
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2025-09-04 (Thu, 04 Sep 2025)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
M lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h
M lldb/test/API/linux/aarch64/tls_registers/TestAArch64LinuxTLSRegisters.py
Log Message:
-----------
[LLDB][AArch64] Make TPIDR a generic tp register (#154444)
Unlike x86, ARM doesn't support a generic thread pointer for TLS data,
so things like
```
reg read tp
...
memory read tp
```
Don't work, and you need to specify tpidr. This works, especially
because that's the name GDB uses. But for ease of use, and at the
request of @aperez I've made it so we can reference it via `tp`.
I personally don't have an aarch machine, and all the arm examples in
`Shell/Register/Core` are freebsd and don't contain tpidr, so I was
unable to add a shell test for this. I added a test to the AARCH
register tests, but without an Aarch machine I'm hoping these work.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list