[PATCH] D94280: [ELF] --exclude-libs: localize defined libcall symbols referenced by lto.tmp

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 18:47:24 PST 2021


MaskRay added inline comments.


================
Comment at: lld/test/ELF/lto/exclude-libs-libcall.ll:2
+; REQUIRES: x86
+; RUN: rm -rf %t && split-file %s %t
+; RUN: llvm-as %t/a.ll -o %t/a.bc
----------------
Forgot to add a comment:

lto.tmp may reference a libcall symbol not in the IR symbol table. If such a symbol is defined in an archive matched by a --exclude-libs, the symbol should be localized.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94280



More information about the llvm-commits mailing list