[lld] [ELF] Add target-specific relocation scanning for x86 (PR #178846)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 20:03:33 PDT 2026


MaskRay wrote:

> sorry, I missed [#178846 (comment)](https://github.com/llvm/llvm-project/pull/178846#issuecomment-4033125619), only saw the comment after
> 
> we can exclude msan symbols from `-u`. it would be nice if there were some diagnostic saying that `-u tls_var` is unsupported rather than an arbitrary relocation overflow that doesn't make sense

https://github.com/llvm/llvm-project/pull/185794
("[ELF] Fix -u with TLS symbols: propagate type from STT_NOTYPE to STT_TLS")

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


More information about the llvm-commits mailing list