[lld] [llvm] IRSymTab: Record _GLOBAL_OFFSET_TABLE_ for ELF x86 (PR #89463)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 12:49:51 PDT 2024


pcc wrote:

The intent was always that LTO would tell the linker which symbols may be used by the combined object file, and that it wouldn't be handled by the individual bitcode files. See `LTO::getRuntimeLibcallSymbols()` which is where the list currently comes from (it currently refers to "library functions" but I don't see why it should be limited to that). So I am not sure that `_GLOBAL_OFFSET_TABLE_` should be a special case here.

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


More information about the llvm-commits mailing list