[llvm-dev] aarch64 do not generate debug info for tls var
kamlesh kumar via llvm-dev
llvm-dev at lists.llvm.org
Mon Dec 9 22:24:46 PST 2019
consider below testcase
__thread int mtls=1;
it emits this debug info for mtls
DW_AT_type (0x00000035 "int")
which does not contain DW_AT_Location.
Currently, aarch64 does not emit DW_AT_Location for TLS variables.
I could see at this line, it says some restriction in aarch64 elf abi.
I would like to know community thoughts on this and is there any other way
to tackle this, or we simply can not debug TLS variables for this
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev