diff options
author | Jacob Lalonde <jalalonde@fb.com> | 2025-09-04 10:37:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-04 10:37:52 -0700 |
commit | 6505bc3db02913a44b630c60ed6068ed84100e60 (patch) | |
tree | 91900d1cc4b35f59b9bad20acc6c55496c281474 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | bcb3bd09275f833a76d1122f59d4b49b52c8d299 (diff) | |
download | llvm-6505bc3db02913a44b630c60ed6068ed84100e60.zip llvm-6505bc3db02913a44b630c60ed6068ed84100e60.tar.gz llvm-6505bc3db02913a44b630c60ed6068ed84100e60.tar.bz2 |
[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.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions