[llvm-bugs] [Bug 32400] Report undefined symbol errors before doing LTO
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 5 18:21:44 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=32400
Fangrui Song <i at maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |i at maskray.me
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Fangrui Song <i at maskray.me> ---
Fixed for COFF: https://reviews.llvm.org/D62434
For ELF, this is not fixable. ELF undefined symbols errors are relocation
based. And the relocation scanning has to happen after --gc-sections to be
compatible with GNU linkers. I know that Android specifically relies on this
property. Such users may even use -mllvm -asan-globals=0.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210306/3e83d5bc/attachment.html>
More information about the llvm-bugs
mailing list