[Lldb-commits] [lld] [lldb] [llvm] [AArch64] Support TLS variables in debug info (PR #146572)

via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 9 10:28:32 PDT 2026


================
@@ -28,9 +28,7 @@ void AArch64_ELFTargetObjectFile::Initialize(MCContext &Ctx,
   PLTPCRelativeSpecifier = AArch64::S_PLT;
   SupportIndirectSymViaGOTPCRel = true;
 
-  // AARCH64 ELF ABI does not define static relocation type for TLS offset
-  // within a module.  Do not generate AT_location for TLS variables.
-  SupportDebugThreadLocalLocation = false;
+  SupportDebugThreadLocalLocation = true;
----------------
walkerkd wrote:

Does this need to be set to true, or can it just be deleted.
it is set to true at point of definition, so is there somewhere else that can set it to false that needs to be overridden?

https://github.com/llvm/llvm-project/pull/146572


More information about the lldb-commits mailing list