blob: f690dccb586992d774bcce3093e9d0327e1a1d68 [file] [log] [blame]
# REQUIRES: x86
# RUN: rm -f %t.a
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t1.o
# RUN: llvm-ar rcs %t.a %t1.o
# RUN: echo "{ foo; };" > %t.list
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o
# RUN: ld.lld -shared -o %t.so --dynamic-list %t.list %t.a %t2.o
# RUN: llvm-readelf --dyn-syms %t.so | FileCheck %s
# CHECK-NOT: foo
.global _start
_start:
nop