1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy --weaken %t %t2
3 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
14 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
16 AddressAlign: 0x0000000000000010
50 Binding: STB_GNU_UNIQUE
55 #CHECK-NEXT: Value: 0x0
57 #CHECK-NEXT: Binding: Local
58 #CHECK-NEXT: Type: None
60 #CHECK-NEXT: Section: Undefined
63 #CHECK-NEXT: Name: Local
64 #CHECK-NEXT: Value: 0x1008
66 #CHECK-NEXT: Binding: Local
67 #CHECK-NEXT: Type: Function
69 #CHECK-NEXT: Section: .text
72 #CHECK-NEXT: Name: Global
73 #CHECK-NEXT: Value: 0x1018
75 #CHECK-NEXT: Binding: Weak
76 #CHECK-NEXT: Type: Function
78 #CHECK-NEXT: Section: .text
81 #CHECK-NEXT: Name: undefGlobal
82 #CHECK-NEXT: Value: 0x0
84 #CHECK-NEXT: Binding: Global
85 #CHECK-NEXT: Type: Function
90 #CHECK-NEXT: Name: Weak
91 #CHECK-NEXT: Value: 0x1010
93 #CHECK-NEXT: Binding: Weak
94 #CHECK-NEXT: Type: Function
96 #CHECK-NEXT: Section: .text
99 #CHECK-NEXT: Name: GnuUnique
100 #CHECK-NEXT: Value: 0x1010
102 #CHECK-NEXT: Binding: Weak
103 #CHECK-NEXT: Type: None
104 #CHECK-NEXT: Other: 0
105 #CHECK-NEXT: Section: .text