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

Shivam Gupta via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 1 06:58:40 PST 2026


================
@@ -3114,6 +3114,7 @@ unsigned ObjectFileELF::ApplyRelocations(
       case llvm::ELF::EM_AARCH64:
         switch (reloc_type(rel)) {
         case R_AARCH64_ABS64:
+        case R_AARCH64_TLS_DTPREL64:
           ApplyELF64ABS64Relocation(symtab, rel, debug_data, rel_section);
----------------
xgupta wrote:

Okay, creating issue not required. I have tried a LLDB fix https://github.com/llvm/llvm-project/pull/183993 which is working in my testing of TLS debugging on aarch64.  

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


More information about the llvm-commits mailing list