2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/dso-undef-size.s -o %t1.o
3 # RUN: ld.lld -shared %t1.o -o %t1.so
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t2.o
5 # RUN: ld.lld -shared %t2.o %t1.so -o %t2.so
6 # RUN: llvm-readobj --symbols --dyn-syms %t2.so
10 # CHECK-NEXT: Name: foo
13 # CHECK-NEXT: Binding:
16 # CHECK-NEXT: Section: Undefined
19 # CHECK: DynamicSymbols [
20 # CHECK-NEXT: Symbol {
21 # CHECK-NEXT: Name: foo
24 # CHECK-NEXT: Binding:
27 # CHECK-NEXT: Section: Undefined