aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2023-07-24 12:38:27 +0000
committerDavid Spickett <david.spickett@linaro.org>2023-08-03 12:06:06 +0000
commit43ad521f2fa9a50e6b30425a3b9fb3025b42587a (patch)
treebaa770881a3f2d06ab962289048fb0e0408f432f /clang/lib/Frontend/CompilerInvocation.cpp
parent067ecad620b682ebd1003621edd354f31f31ea2c (diff)
downloadllvm-43ad521f2fa9a50e6b30425a3b9fb3025b42587a.zip
llvm-43ad521f2fa9a50e6b30425a3b9fb3025b42587a.tar.gz
llvm-43ad521f2fa9a50e6b30425a3b9fb3025b42587a.tar.bz2
[lldb][AArch64] Add reading of TLS tpidr register from core files
7e229217f4215b519b886e7881bae4da3742a7d2 did live processes, this does core files. Pretty simple, there is an NT_ARM_TLS note that contains at least tpidr, and on systems with the Scalable Matrix Extension (SME), tpidr2 as well. tpidr2 will be handled in future patches for SME support. This NT_ARM_TLS note has always been present but it seems convenient to handle it as "optional" inside of LLDB. We'll probably want the flexibility when supporting tpidr2. Normally the C library would set tpidr but all our test sources build without it. So I've updated the neon test program to write to tpidr and regenerated the corefile. I've removed the LLDB_PTRACE_NT_ARM_TLS that was unused, we get what we need from llvm's defs instead. Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D156118
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions