[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / dynamic-list-archive.s
blobf690dccb586992d774bcce3093e9d0327e1a1d68
1 # REQUIRES: x86
3 # RUN: rm -f %t.a
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t1.o
5 # RUN: llvm-ar rcs %t.a %t1.o
7 # RUN: echo "{ foo; };" > %t.list
9 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o
10 # RUN: ld.lld -shared -o %t.so --dynamic-list %t.list %t.a %t2.o
12 # RUN: llvm-readelf --dyn-syms %t.so | FileCheck %s
13 # CHECK-NOT: foo
15 .global _start
16 _start:
17 nop