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

Shivam Gupta via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 9 14:50:03 PDT 2026


xgupta wrote:

> I've left a couple of comments.
> 
> Can you test to see what happens with an unpatched GNU ld and LLD when this patch is enabled. I've got a feeling that we'll end up with an unrecognised relocation error.

Yes, it gives linker relocation error with unpatched GNU ld and LLD.
> 
> If that's the case we should have an initial opt-in command-line flag, to later be opt-out until GNU ld and lld catch up.
> 

I have added -enable-debug-tls-location to opt-in.
> There is a team in Arm working on support for GCC and GNU ld.
> 
Thanks.


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


More information about the lldb-commits mailing list