1 # RUN: yaml2obj %s > %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
51 #CHECK-NEXT: Value: 0x0
53 #CHECK-NEXT: Binding: Local
54 #CHECK-NEXT: Type: None
56 #CHECK-NEXT: Section: Undefined
59 #CHECK-NEXT: Name: Local
60 #CHECK-NEXT: Value: 0x1008
62 #CHECK-NEXT: Binding: Local
63 #CHECK-NEXT: Type: Function
65 #CHECK-NEXT: Section: .text
68 #CHECK-NEXT: Name: Global
69 #CHECK-NEXT: Value: 0x1018
71 #CHECK-NEXT: Binding: Weak
72 #CHECK-NEXT: Type: Function
74 #CHECK-NEXT: Section: .text
77 #CHECK-NEXT: Name: undefGlobal
78 #CHECK-NEXT: Value: 0x0
80 #CHECK-NEXT: Binding: Global
81 #CHECK-NEXT: Type: Function
86 #CHECK-NEXT: Name: Weak
87 #CHECK-NEXT: Value: 0x1010
89 #CHECK-NEXT: Binding: Weak
90 #CHECK-NEXT: Type: Function
92 #CHECK-NEXT: Section: .text