Lines Matching refs:LLVM

9 # RUN: llvm-readobj -A %t.got.o 2>&1 | FileCheck %s -DOTHERNUM=0 -check-prefix=BASIC-LLVM
10 # RUN: llvm-readobj -A %t.got.so 2>&1 | FileCheck %s -DOTHERNUM=0 -check-prefix=BASIC-LLVM
11 # RUN: llvm-readobj -A %t.got.exe 2>&1 | FileCheck %s -DOTHERNUM=0 -check-prefix=BASIC-LLVM
51 # BASIC-LLVM: Primary GOT {
52 # BASIC-LLVM-NEXT: Canonical gp value: 0x9112
53 # BASIC-LLVM-NEXT: Reserved entries [
54 # BASIC-LLVM-NEXT: Entry {
55 # BASIC-LLVM-NEXT: Address: 0x1122
56 # BASIC-LLVM-NEXT: Access: -32752
57 # BASIC-LLVM-NEXT: Initial: 0x0
58 # BASIC-LLVM-NEXT: Purpose: Lazy resolver
59 # BASIC-LLVM-NEXT: }
60 # BASIC-LLVM-NEXT: Entry {
61 # BASIC-LLVM-NEXT: Address: 0x112A
62 # BASIC-LLVM-NEXT: Access: -32744
63 # BASIC-LLVM-NEXT: Initial: 0xFFFFFFFFFFFFFFFF
64 # BASIC-LLVM-NEXT: Purpose: Module pointer (GNU extension)
65 # BASIC-LLVM-NEXT: }
66 # BASIC-LLVM-NEXT: ]
67 # BASIC-LLVM-NEXT: Local entries [
68 # BASIC-LLVM-NEXT: Entry {
69 # BASIC-LLVM-NEXT: Address: 0x1132
70 # BASIC-LLVM-NEXT: Access: -32736
71 # BASIC-LLVM-NEXT: Initial: 0x1111111111111111
72 # BASIC-LLVM-NEXT: }
73 # BASIC-LLVM-NEXT: Entry {
74 # BASIC-LLVM-NEXT: Address: 0x113A
75 # BASIC-LLVM-NEXT: Access: -32728
76 # BASIC-LLVM-NEXT: Initial: 0x2222222222222222
77 # BASIC-LLVM-NEXT: }
78 # BASIC-LLVM-NEXT: ]
79 # BASIC-LLVM-NEXT: Global entries [
80 # BASIC-LLVM-NEXT: Entry {
81 # BASIC-LLVM-NEXT: Address: 0x1142
82 # BASIC-LLVM-NEXT: Access: -32720
83 # BASIC-LLVM-NEXT: Initial: 0xAAAAAAAAAAAAAAAA
84 # BASIC-LLVM-NEXT: Value: 0x0
85 # BASIC-LLVM-NEXT: Type: None (0x0)
86 # BASIC-LLVM-NEXT: Section: Undefined (0x0)
87 # BASIC-LLVM-NEXT: Name: foo (5)
88 # BASIC-LLVM-NEXT: }
89 # BASIC-LLVM-NEXT: Entry {
90 # BASIC-LLVM-NEXT: Address: 0x114A
91 # BASIC-LLVM-NEXT: Access: -32712
92 # BASIC-LLVM-NEXT: Initial: 0xBBBBBBBBBBBBBBBB
93 # BASIC-LLVM-NEXT: Value: 0x0
94 # BASIC-LLVM-NEXT: Type: Function (0x2)
95 # BASIC-LLVM-NEXT: Section: Undefined (0x0)
96 # BASIC-LLVM-NEXT: Name: bar (1)
97 # BASIC-LLVM-NEXT: }
98 # BASIC-LLVM-NEXT: ]
99 # BASIC-LLVM-NEXT: Number of TLS and multi-GOT entries: [[OTHERNUM]]
100 # BASIC-LLVM-NEXT: }
126 …N: llvm-readobj -A %t.other.entries1.exe 2>&1 | FileCheck %s -DOTHERNUM=1 --check-prefix=BASIC-LLVM
127 …UN: llvm-readobj -A %t.other.entries2.exe 2>&1 | FileCheck %s -DOTHERNUM=2 -check-prefix=BASIC-LLVM
137 # RUN: llvm-readobj -A %t.got-static.exe | FileCheck %s --check-prefix=STATIC-GOT-LLVM
140 # STATIC-GOT-LLVM: Static GOT {
141 # STATIC-GOT-LLVM-NEXT: Canonical gp value: 0x9112
142 # STATIC-GOT-LLVM-NEXT: Reserved entries [
143 # STATIC-GOT-LLVM-NEXT: Entry {
144 # STATIC-GOT-LLVM-NEXT: Address: 0x1122
145 # STATIC-GOT-LLVM-NEXT: Access: -32752
146 # STATIC-GOT-LLVM-NEXT: Initial: 0x0
147 # STATIC-GOT-LLVM-NEXT: Purpose: Lazy resolver
148 # STATIC-GOT-LLVM-NEXT: }
149 # STATIC-GOT-LLVM-NEXT: Entry {
150 # STATIC-GOT-LLVM-NEXT: Address: 0x112A
151 # STATIC-GOT-LLVM-NEXT: Access: -32744
152 # STATIC-GOT-LLVM-NEXT: Initial: 0xFFFFFFFFFFFFFFFF
153 # STATIC-GOT-LLVM-NEXT: Purpose: Module pointer (GNU extension)
154 # STATIC-GOT-LLVM-NEXT: }
155 # STATIC-GOT-LLVM-NEXT: ]
156 # STATIC-GOT-LLVM-NEXT: Local entries [
157 # STATIC-GOT-LLVM-NEXT: Entry {
158 # STATIC-GOT-LLVM-NEXT: Address: 0x1132
159 # STATIC-GOT-LLVM-NEXT: Access: -32736
160 # STATIC-GOT-LLVM-NEXT: Initial: 0x1111111111111111
161 # STATIC-GOT-LLVM-NEXT: }
162 # STATIC-GOT-LLVM-NEXT: Entry {
163 # STATIC-GOT-LLVM-NEXT: Address: 0x113A
164 # STATIC-GOT-LLVM-NEXT: Access: -32728
165 # STATIC-GOT-LLVM-NEXT: Initial: 0x2222222222222222
166 # STATIC-GOT-LLVM-NEXT: }
167 # STATIC-GOT-LLVM-NEXT: Entry {
168 # STATIC-GOT-LLVM-NEXT: Address: 0x1142
169 # STATIC-GOT-LLVM-NEXT: Access: -32720
170 # STATIC-GOT-LLVM-NEXT: Initial: 0xAAAAAAAAAAAAAAAA
171 # STATIC-GOT-LLVM-NEXT: }
172 # STATIC-GOT-LLVM-NEXT: Entry {
173 # STATIC-GOT-LLVM-NEXT: Address: 0x114A
174 # STATIC-GOT-LLVM-NEXT: Access: -32712
175 # STATIC-GOT-LLVM-NEXT: Initial: 0xBBBBBBBBBBBBBBBB
176 # STATIC-GOT-LLVM-NEXT: }
177 # STATIC-GOT-LLVM-NEXT: ]
178 # STATIC-GOT-LLVM-NEXT: }
200 # RUN: llvm-readobj -A %t.got32.exe 2>&1 | FileCheck %s -check-prefix=BASIC32-LLVM
204 # BASIC32-LLVM: Primary GOT {
205 # BASIC32-LLVM-NEXT: Canonical gp value: 0x9112
206 # BASIC32-LLVM-NEXT: Reserved entries [
207 # BASIC32-LLVM-NEXT: Entry {
208 # BASIC32-LLVM-NEXT: Address: 0x1122
209 # BASIC32-LLVM-NEXT: Access: -32752
210 # BASIC32-LLVM-NEXT: Initial: 0x0
211 # BASIC32-LLVM-NEXT: Purpose: Lazy resolver
212 # BASIC32-LLVM-NEXT: }
213 # BASIC32-LLVM-NEXT: Entry {
214 # BASIC32-LLVM-NEXT: Address: 0x1126
215 # BASIC32-LLVM-NEXT: Access: -32748
216 # BASIC32-LLVM-NEXT: Initial: 0xFFFFFFFF
217 # BASIC32-LLVM-NEXT: Purpose: Module pointer (GNU extension)
218 # BASIC32-LLVM-NEXT: }
219 # BASIC32-LLVM-NEXT: ]
220 # BASIC32-LLVM-NEXT: Local entries [
221 # BASIC32-LLVM-NEXT: Entry {
222 # BASIC32-LLVM-NEXT: Address: 0x112A
223 # BASIC32-LLVM-NEXT: Access: -32744
224 # BASIC32-LLVM-NEXT: Initial: 0x11111111
225 # BASIC32-LLVM-NEXT: }
226 # BASIC32-LLVM-NEXT: Entry {
227 # BASIC32-LLVM-NEXT: Address: 0x112E
228 # BASIC32-LLVM-NEXT: Access: -32740
229 # BASIC32-LLVM-NEXT: Initial: 0x22222222
230 # BASIC32-LLVM-NEXT: }
231 # BASIC32-LLVM-NEXT: ]
232 # BASIC32-LLVM-NEXT: Global entries [
233 # BASIC32-LLVM-NEXT: Entry {
234 # BASIC32-LLVM-NEXT: Address: 0x1132
235 # BASIC32-LLVM-NEXT: Access: -32736
236 # BASIC32-LLVM-NEXT: Initial: 0xAAAAAAAA
237 # BASIC32-LLVM-NEXT: Value: 0x0
238 # BASIC32-LLVM-NEXT: Type: None (0x0)
239 # BASIC32-LLVM-NEXT: Section: Undefined (0x0)
240 # BASIC32-LLVM-NEXT: Name: foo (5)
241 # BASIC32-LLVM-NEXT: }
242 # BASIC32-LLVM-NEXT: Entry {
243 # BASIC32-LLVM-NEXT: Address: 0x1136
244 # BASIC32-LLVM-NEXT: Access: -32732
245 # BASIC32-LLVM-NEXT: Initial: 0xBBBBBBBB
246 # BASIC32-LLVM-NEXT: Value: 0x0
247 # BASIC32-LLVM-NEXT: Type: Function (0x2)
248 # BASIC32-LLVM-NEXT: Section: Undefined (0x0)
249 # BASIC32-LLVM-NEXT: Name: bar (1)
250 # BASIC32-LLVM-NEXT: }
251 # BASIC32-LLVM-NEXT: ]
252 # BASIC32-LLVM-NEXT: Number of TLS and multi-GOT entries: 1
253 # BASIC32-LLVM-NEXT: }
309 # RUN: llvm-readobj -A %t.got-noentries.exe | FileCheck %s --check-prefix=GOT-EMPTY-LLVM
312 # GOT-EMPTY-LLVM: Primary GOT {
313 # GOT-EMPTY-LLVM-NEXT: Canonical gp value: 0x9112
314 # GOT-EMPTY-LLVM-NEXT: Reserved entries [
315 # GOT-EMPTY-LLVM-NEXT: Entry {
316 # GOT-EMPTY-LLVM-NEXT: Address: 0x1122
317 # GOT-EMPTY-LLVM-NEXT: Access: -32752
318 # GOT-EMPTY-LLVM-NEXT: Initial: 0x0
319 # GOT-EMPTY-LLVM-NEXT: Purpose: Lazy resolver
320 # GOT-EMPTY-LLVM-NEXT: }
321 # GOT-EMPTY-LLVM-NEXT: Entry {
322 # GOT-EMPTY-LLVM-NEXT: Address: 0x112A
323 # GOT-EMPTY-LLVM-NEXT: Access: -32744
324 # GOT-EMPTY-LLVM-NEXT: Initial: 0xFFFFFFFFFFFFFFFF
325 # GOT-EMPTY-LLVM-NEXT: Purpose: Module pointer (GNU extension)
326 # GOT-EMPTY-LLVM-NEXT: }
327 # GOT-EMPTY-LLVM-NEXT: ]
328 # GOT-EMPTY-LLVM-NEXT: Local entries [
329 # GOT-EMPTY-LLVM-NEXT: ]
330 # GOT-EMPTY-LLVM-NEXT: Global entries [
331 # GOT-EMPTY-LLVM-NEXT: ]
332 # GOT-EMPTY-LLVM-NEXT: Number of TLS and multi-GOT entries: 0
333 # GOT-EMPTY-LLVM-NEXT: }
472 # RUN: llvm-readobj -A %t.err7.o 2>&1 | FileCheck %s -DFILE=%t.err7.o --check-prefix=SAME-ADDR-LLVM
475 # SAME-ADDR-LLVM: Primary GOT {
476 # SAME-ADDR-LLVM-NEXT: Canonical gp value: 0x9112
477 # SAME-ADDR-LLVM-NEXT: Reserved entries [
478 # SAME-ADDR-LLVM-NEXT: Entry {
479 # SAME-ADDR-LLVM-NEXT: Address: 0x1122
480 # SAME-ADDR-LLVM-NEXT: Access: -32752
481 # SAME-ADDR-LLVM-NEXT: Initial: 0x0
482 # SAME-ADDR-LLVM-NEXT: Purpose: Lazy resolver
483 # SAME-ADDR-LLVM-NEXT: }
484 # SAME-ADDR-LLVM-NEXT: ]
485 # SAME-ADDR-LLVM-NEXT: Local entries [
486 # SAME-ADDR-LLVM-NEXT: ]
487 # SAME-ADDR-LLVM-NEXT: Global entries [
488 # SAME-ADDR-LLVM-NEXT: Entry {
489 # SAME-ADDR-LLVM-NEXT: Address: 0x112A
490 # SAME-ADDR-LLVM-NEXT: Access: -32744
491 # SAME-ADDR-LLVM-NEXT: Initial: 0x0
492 # SAME-ADDR-LLVM-NEXT: Value: 0x0
493 # SAME-ADDR-LLVM-NEXT: Type: None (0x0)
494 # SAME-ADDR-LLVM-NEXT: Section: Undefined (0x0)
495 # SAME-ADDR-LLVM-NEXT: Name: foo (1)
496 # SAME-ADDR-LLVM-NEXT: }
497 # SAME-ADDR-LLVM-NEXT: ]
498 # SAME-ADDR-LLVM-NEXT: Number of TLS and multi-GOT entries: 0
499 # SAME-ADDR-LLVM-NEXT: }
541 # RUN: llvm-readobj -A %t.err8.o 2>&1 | FileCheck %s -DFILE=%t.err8.o --check-prefix=SEC-SYMS-LLVM
544 # SEC-SYMS-LLVM: Global entries [
545 # SEC-SYMS-LLVM-NEXT: Entry {
546 # SEC-SYMS-LLVM: Section: Absolute (0xFFF1)
547 # SEC-SYMS-LLVM-NEXT: warning: '[[FILE]]': unable to get section index for symbol with st_shndx = 0…
548 # SEC-SYMS-LLVM-NEXT: Name: <?> (0)
549 # SEC-SYMS-LLVM-NEXT: }
550 # SEC-SYMS-LLVM-NEXT: Entry {
551 # SEC-SYMS-LLVM: Section: .got (0x1)
552 # SEC-SYMS-LLVM-NEXT: Name: .got (0)
553 # SEC-SYMS-LLVM-NEXT: }
554 # SEC-SYMS-LLVM-NEXT: Entry {
555 # SEC-SYMS-LLVM: Section: Common (0xFFF2)
556 # SEC-SYMS-LLVM-NEXT: warning: '[[FILE]]': unable to get section index for symbol with st_shndx = 0…
557 # SEC-SYMS-LLVM-NEXT: Name: <?> (0)
558 # SEC-SYMS-LLVM-NEXT: }
559 # SEC-SYMS-LLVM-NEXT: Entry {
560 # SEC-SYMS-LLVM: Type: Section (0x3)
561 # SEC-SYMS-LLVM-NEXT: warning: '[[FILE]]': extended symbol index (4) is past the end of the SHT_SYM…
562 # SEC-SYMS-LLVM-NEXT: Section: Reserved (0xFFFF)
563 # SEC-SYMS-LLVM-NEXT: Name: <?> (0)
564 # SEC-SYMS-LLVM-NEXT: }
565 # SEC-SYMS-LLVM-NEXT: ]