[PATCH] D127885: [LTO] Parse input files added after LTO codegen.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 17:14:52 PDT 2022


mysterymath updated this revision to Diff 439572.
mysterymath added a comment.

Extract deplibs before LTO, as discussed in #56070.

This substantially reworks the change to partially parse deplibs sections from
object files that provide libcalls. A target interface is also added to supply
target-specific libcall names; this is filled out for AArch64.

Any found shared libraries are added as-needed, since the libcalls that might
require them may never be emitted. Static libraries are added lazily, as usual.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127885/new/

https://reviews.llvm.org/D127885

Files:
  lld/ELF/Arch/AArch64.cpp
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/Target.h
  lld/test/ELF/deplibs-lto-shared.s
  lld/test/ELF/deplibs-lto-static.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127885.439572.patch
Type: text/x-patch
Size: 12569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220624/b9418789/attachment.bin>


More information about the llvm-commits mailing list