18 lines · plain
1# REQUIRES: x862 3# RUN: rm -f %t.a4# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/archive2.s -o %t1.o5# RUN: llvm-ar rcs %t.a %t1.o6 7# RUN: echo "{ foo; };" > %t.list8 9# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o10# RUN: ld.lld -shared -o %t.so --dynamic-list %t.list %t.a %t2.o11 12# RUN: llvm-readelf --dyn-syms %t.so | FileCheck %s13# CHECK-NOT: foo14 15.global _start16_start:17 nop18