[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / dso-undef-size.s
blob2e2aa0b5fa46d43712a63feab515ddba25522452
1 # REQUIRES: x86
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
8 # CHECK: Symbols [
9 # CHECK-NEXT: Symbol {
10 # CHECK-NEXT: Name: foo
11 # CHECK-NEXT: Value:
12 # CHECK-NEXT: Size: 0
13 # CHECK-NEXT: Binding:
14 # CHECK-NEXT: Type:
15 # CHECK-NEXT: Other:
16 # CHECK-NEXT: Section: Undefined
17 # CHECK-NEXT: }
18 # CHECK-NEXT: ]
19 # CHECK: DynamicSymbols [
20 # CHECK-NEXT: Symbol {
21 # CHECK-NEXT: Name: foo
22 # CHECK-NEXT: Value:
23 # CHECK-NEXT: Size: 0
24 # CHECK-NEXT: Binding:
25 # CHECK-NEXT: Type:
26 # CHECK-NEXT: Other:
27 # CHECK-NEXT: Section: Undefined
28 # CHECK-NEXT: }
29 # CHECK-NEXT: ]
31 .text
32 .global foo