[PATCH] D127885: [LTO] Parse input files added after LTO codegen.
Daniel Thornburgh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 15 16:32:51 PDT 2022
mysterymath added a comment.
In D127885#3587455 <https://reviews.llvm.org/D127885#3587455>, @MaskRay wrote:
> This breaks the symbol resolution model of LTO. The symbol resolution intends to know all symbols and no new symbol can be added after LTO compiling.
Does that apply to symbols like __aarch64_ldadd4_relax? AFAICT, these are only discovered after LTO completes, which is the origin of the issue.
There's a bit of logic to handleLibcalls() before the link, but only if the libcalls are supplied via bitcode themselves, but not if they're provided via object files, as in the test case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127885/new/
https://reviews.llvm.org/D127885
More information about the llvm-commits
mailing list