[PATCH] D37059: [ELF] - LTO: do not optimize away symbols accessed from linkerscript.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 06:18:24 PDT 2017
grimar added a comment.
In https://reviews.llvm.org/D37059#850075, @davide wrote:
> What happens if `foo` is specified in the linker script but actually doesn't appear in any bitcode file?
> IIRC we should error in that case.
I think we will create absolute symbol foo for this case.
If it would be `foo = bar` then we would error out.
https://reviews.llvm.org/D37059
More information about the llvm-commits
mailing list