[llvm-bugs] [Bug 34238] New: LTO is optimizing away symbols referenced from linker scripts
llvm-bugs at lists.llvm.org
Fri Aug 18 14:47:35 PDT 2017
Bug ID: 34238
Summary: LTO is optimizing away symbols referenced from linker
Assignee: unassignedbugs at nondot.org
Reporter: phosek at chromium.org
CC: llvm-bugs at lists.llvm.org
LTO doesn't see the symbols that are referenced from linker scripts, and if
there are no other references to these symbols, it optimizes them away as
unused. We need to teach LLD to pass the information about these symbols to LTO
backend same as it already does for __start_* and __stop_* symbols.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs