[PATCH] D118756: [ELF] Avoid wrapping unreferenced lazy symbols

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 3 20:00:48 PST 2022


smeenai marked 3 inline comments as done.
smeenai added inline comments.


================
Comment at: lld/test/ELF/wrap-lazy.test:21
+# RUN: llvm-readelf -s %t6.so | FileCheck --check-prefix=LAZY-REF %s
+# RUN: ld.lld -shared -o %t7.so %tweakref.o --start-lib %tlazybitcode.o --wrap lazy
+# RUN: llvm-readelf -s %t7.so | FileCheck --check-prefix=LAZY-REF %s
----------------
MaskRay wrote:
> Create `ld.lld -shared ... -o %tweakref.so` and additionally test `%tweakref.so --start-lib %tlazy.o --wrap lazy`
I added this, but I'm not 100% sure it's what you meant. Could you double check?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118756



More information about the llvm-commits mailing list