https://bugs.llvm.org/show_bug.cgi?id=34238
Bug ID: 34238
Summary: LTO is optimizing away symbols referenced from linker
scripts
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedb...@nondot.org
Reporter: pho...@chromium.org
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs