[PATCH] D118756: [ELF] Avoid wrapping unreferenced lazy symbols
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 19:14:06 PST 2022
MaskRay added inline comments.
================
Comment at: lld/test/ELF/wrap-lazy.test:5
+# RUN: llvm-as %t/lazy.ll -o %tlazybitcode.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu %t/dummy.s -o %tdummy.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu %t/lazy.s -o %tlazy.o
----------------
smeenai wrote:
> MaskRay wrote:
> > Drop linux-gnu to make it clear this is a generic ELF behavior.
> Does just `-triple=x86_64` imply ELF by default, or is there some way to make it explicit?
`-triple=x86_64` implies ELF like `-triple=x86_64-elf`
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