[PATCH] D83549: [ELF] Do not force bringing out symbols passed by -init and -fini.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 16:23:17 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/archive-init-fini.s:7
+
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
+# RUN: rm -f %t.a
----------------
`%t.o`


================
Comment at: lld/test/ELF/archive-init-fini.s:10
+# RUN: llvm-ar rcs %t.a %t
+# RUN: ld.lld -shared -m elf_x86_64 %t.a -o %t.out
+# RUN: llvm-nm %t.out | \
----------------
`%t.out` -> `%t`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83549





More information about the llvm-commits mailing list