Lines Matching refs:LLVM

6 # RUN:   | FileCheck %s --implicit-check-not="warning:" --check-prefix=DYNSYMS-LLVM
10 # DYNSYMS-LLVM: DynamicSymbols [
11 # DYNSYMS-LLVM-NEXT: Symbol {
12 # DYNSYMS-LLVM-NEXT: Name: (0)
13 # DYNSYMS-LLVM-NEXT: Value: 0x0
14 # DYNSYMS-LLVM-NEXT: Size: 0
15 # DYNSYMS-LLVM-NEXT: Binding: Local (0x0)
16 # DYNSYMS-LLVM-NEXT: Type: None (0x0)
17 # DYNSYMS-LLVM-NEXT: Other: 0
18 # DYNSYMS-LLVM-NEXT: Section: Undefined (0x0)
19 # DYNSYMS-LLVM-NEXT: }
20 # DYNSYMS-LLVM-NEXT: Symbol {
21 # DYNSYMS-LLVM-NEXT: Name: foo (5)
22 # DYNSYMS-LLVM-NEXT: Value: 0x0
23 # DYNSYMS-LLVM-NEXT: Size: 0
24 # DYNSYMS-LLVM-NEXT: Binding: Local (0x0)
25 # DYNSYMS-LLVM-NEXT: Type: None (0x0)
26 # DYNSYMS-LLVM-NEXT: Other: 0
27 # DYNSYMS-LLVM-NEXT: Section: Undefined (0x0)
28 # DYNSYMS-LLVM-NEXT: }
29 # DYNSYMS-LLVM-NEXT: Symbol {
30 # DYNSYMS-LLVM-NEXT: Name: bar (1)
31 # DYNSYMS-LLVM-NEXT: Value: 0x0
32 # DYNSYMS-LLVM-NEXT: Size: 0
33 # DYNSYMS-LLVM-NEXT: Binding: Local (0x0)
34 # DYNSYMS-LLVM-NEXT: Type: None (0x0)
35 # DYNSYMS-LLVM-NEXT: Other: 0
36 # DYNSYMS-LLVM-NEXT: Section: Undefined (0x0)
37 # DYNSYMS-LLVM-NEXT: }
38 # DYNSYMS-LLVM-NEXT: ]
89 # RUN: FileCheck %s -DFILE=%t2.so --implicit-check-not=warning: --check-prefix=NOPHDRS-LLVM
93 # NOPHDRS-LLVM: warning: '[[FILE]]': unable to parse DT_SYMTAB: virtual address is not in any segme…
94 # NOPHDRS-LLVM: DynamicSymbols [
95 # NOPHDRS-LLVM-NEXT: Symbol {
96 # NOPHDRS-LLVM-NEXT: Name: (0)
97 # NOPHDRS-LLVM-NEXT: Value: 0x0
98 # NOPHDRS-LLVM-NEXT: Size: 0
99 # NOPHDRS-LLVM-NEXT: Binding: Local (0x0)
100 # NOPHDRS-LLVM-NEXT: Type: None (0x0)
101 # NOPHDRS-LLVM-NEXT: Other: 0
102 # NOPHDRS-LLVM-NEXT: Section: Undefined (0x0)
103 # NOPHDRS-LLVM-NEXT: }
104 # NOPHDRS-LLVM-NEXT: Symbol {
105 # NOPHDRS-LLVM-NEXT: Name: foo (1)
106 # NOPHDRS-LLVM-NEXT: Value: 0x0
107 # NOPHDRS-LLVM-NEXT: Size: 0
108 # NOPHDRS-LLVM-NEXT: Binding: Local (0x0)
109 # NOPHDRS-LLVM-NEXT: Type: None (0x0)
110 # NOPHDRS-LLVM-NEXT: Other: 0
111 # NOPHDRS-LLVM-NEXT: Section: Undefined (0x0)
112 # NOPHDRS-LLVM-NEXT: }
113 # NOPHDRS-LLVM-NEXT: ]
145 # RUN: FileCheck %s -DFILE=%t2.broken.name --check-prefix=NOPHDRS-LLVM --implicit-check-not=warni…
153 ….so --dyn-symbols 2>&1 | FileCheck %s -DFILE=%t3.so --check-prefixes=NOSHT-DYNSYM,NOSHT-DYNSYM-LLVM
157 # NOSHT-DYNSYM-LLVM: DynamicSymbols [
158 # NOSHT-DYNSYM-LLVM-NEXT: ]
181 …dyn-symbols 2>&1 | FileCheck -DFILE=%t4.so %s --check-prefixes=BROKEN-DTSYMTAB,BROKEN-DTSYMTAB-LLVM
185 # BROKEN-DTSYMTAB-LLVM: Name: foo
212 …dyn-symbols 2>&1 | FileCheck -DFILE=%t5.so %s --check-prefixes=PREFER-DTSYMTAB,PREFER-DTSYMTAB-LLVM
216 # PREFER-DTSYMTAB-LLVM: Name: o
249 # RUN: llvm-readobj -V --dyn-symbols %t6 | FileCheck %s --check-prefix=VERSIONED-LLVM
252 # VERSIONED-LLVM: Symbol {
253 # VERSIONED-LLVM: Name: foo (16)
254 # VERSIONED-LLVM-NEXT: Value: 0x0
255 # VERSIONED-LLVM-NEXT: Size: 0
256 # VERSIONED-LLVM-NEXT: Binding: Local (0x0)
257 # VERSIONED-LLVM-NEXT: Type: None (0x0)
258 # VERSIONED-LLVM-NEXT: Other: 0
259 # VERSIONED-LLVM-NEXT: Section: Undefined (0x0)
260 # VERSIONED-LLVM-NEXT: }
261 # VERSIONED-LLVM-NEXT: Symbol {
262 # VERSIONED-LLVM-NEXT: Name: bar@@Default (12)
263 # VERSIONED-LLVM-NEXT: Value: 0x0
264 # VERSIONED-LLVM-NEXT: Size: 0
265 # VERSIONED-LLVM-NEXT: Binding: Local (0x0)
266 # VERSIONED-LLVM-NEXT: Type: None (0x0)
267 # VERSIONED-LLVM-NEXT: Other: 0
268 # VERSIONED-LLVM-NEXT: Section: Undefined (0x0)
269 # VERSIONED-LLVM-NEXT: }
270 # VERSIONED-LLVM-NEXT: Symbol {
271 # VERSIONED-LLVM-NEXT: Name: zed@NonDefault (20)
272 # VERSIONED-LLVM-NEXT: Value: 0x0
273 # VERSIONED-LLVM-NEXT: Size: 0
274 # VERSIONED-LLVM-NEXT: Binding: Local (0x0)
275 # VERSIONED-LLVM-NEXT: Type: None (0x0)
276 # VERSIONED-LLVM-NEXT: Other: 0
277 # VERSIONED-LLVM-NEXT: Section: Undefined (0x0)
278 # VERSIONED-LLVM-NEXT: }
279 # VERSIONED-LLVM: VersionSymbols [
280 # VERSIONED-LLVM: Name: foo
281 # VERSIONED-LLVM: Name: bar@@Default
282 # VERSIONED-LLVM: Name: zed@NonDefault
334 # RUN: FileCheck %s -DFILE=%t6.sec.sym --check-prefix=VERSIONED-SEC-SYM-LLVM
338 # VERSIONED-SEC-SYM-LLVM: DynamicSymbols [
339 # VERSIONED-SEC-SYM-LLVM: Name: foo (12)
340 # VERSIONED-SEC-SYM-LLVM: warning: '[[FILE]]': unable to get section index for symbol with st_shndx…
341 # VERSIONED-SEC-SYM-LLVM: Name: <?> (0)
342 # VERSIONED-SEC-SYM-LLVM: warning: '[[FILE]]': unable to get section index for symbol with st_shndx…
343 # VERSIONED-SEC-SYM-LLVM: Name: <?> (0)
344 # VERSIONED-SEC-SYM-LLVM: VersionSymbols [
345 # VERSIONED-SEC-SYM-LLVM: Name: foo
346 # VERSIONED-SEC-SYM-LLVM: Name: <?>
347 # VERSIONED-SEC-SYM-LLVM: Name: <?>
361 # RUN: FileCheck %s -DFILE=%t6.sec.xindex.sym --check-prefix=VERSIONED-SEC-SYM-XINDEX-LLVM
365 # VERSIONED-SEC-SYM-XINDEX-LLVM: Name: (0)
366 # VERSIONED-SEC-SYM-XINDEX-LLVM: Name: foo (12)
367 # VERSIONED-SEC-SYM-XINDEX-LLVM: warning: '[[FILE]]': extended symbol index (2) is past the en…
368 # VERSIONED-SEC-SYM-XINDEX-LLVM-NEXT: Symbol {
369 # VERSIONED-SEC-SYM-XINDEX-LLVM-NEXT: Name: <?> (0)
370 # VERSIONED-SEC-SYM-XINDEX-LLVM: Name: <?> (0)
380 # RUN: llvm-readobj --dyn-symbols %t7 | FileCheck %s --check-prefix=NO-DYNSYM-LLVM
384 # RUN: llvm-readobj --dyn-symbols %t8 | FileCheck %s --check-prefix=NO-DYNSYM-LLVM
388 # RUN: llvm-readobj --dyn-symbols %t9 | FileCheck %s --check-prefix=DYNSYM-EMPTY-LLVM
391 # NO-DYNSYM-LLVM: DynamicSymbols [
392 # NO-DYNSYM-LLVM-NEXT: ]
394 # DYNSYM-EMPTY-LLVM: DynamicSymbols [
395 # DYNSYM-EMPTY-LLVM-NEXT: Symbol {
396 # DYNSYM-EMPTY-LLVM-NEXT: Name: (0)
397 # DYNSYM-EMPTY-LLVM-NEXT: Value: 0x0
398 # DYNSYM-EMPTY-LLVM-NEXT: Size: 0
399 # DYNSYM-EMPTY-LLVM-NEXT: Binding: Local (0x0)
400 # DYNSYM-EMPTY-LLVM-NEXT: Type: None (0x0)
401 # DYNSYM-EMPTY-LLVM-NEXT: Other: 0
402 # DYNSYM-EMPTY-LLVM-NEXT: Section: Undefined (0x0)
403 # DYNSYM-EMPTY-LLVM-NEXT: }
404 # DYNSYM-EMPTY-LLVM-NEXT: ]
521 # RUN: FileCheck %s -DFILE=%t14 --check-prefix=DYNSTR-INVALID-LLVM
525 # DYNSTR-INVALID-LLVM: warning: '[[FILE]]': the dynamic string table at 0x78 goes past the end of t…
526 # DYNSTR-INVALID-LLVM: DynamicSymbols [
527 # DYNSTR-INVALID-LLVM-NEXT: Symbol {
528 # DYNSTR-INVALID-LLVM-NEXT: Name: (0)
529 # DYNSTR-INVALID-LLVM-NEXT: Value: 0x0
530 # DYNSTR-INVALID-LLVM-NEXT: Size: 0
531 # DYNSTR-INVALID-LLVM-NEXT: Binding: Local (0x0)
532 # DYNSTR-INVALID-LLVM-NEXT: Type: None (0x0)
533 # DYNSTR-INVALID-LLVM-NEXT: Other: 0
534 # DYNSTR-INVALID-LLVM-NEXT: Section: Undefined (0x0)
535 # DYNSTR-INVALID-LLVM-NEXT: }
536 # DYNSTR-INVALID-LLVM-NEXT: warning: '[[FILE]]': st_name (0xffffff00) is past the end of the string…
537 # DYNSTR-INVALID-LLVM-NEXT: Symbol {
538 # DYNSTR-INVALID-LLVM-NEXT: Name: <?> (4294967040)
539 # DYNSTR-INVALID-LLVM-NEXT: Value: 0x0
540 # DYNSTR-INVALID-LLVM-NEXT: Size: 0
541 # DYNSTR-INVALID-LLVM-NEXT: Binding: Local (0x0)
542 # DYNSTR-INVALID-LLVM-NEXT: Type: None (0x0)
543 # DYNSTR-INVALID-LLVM-NEXT: Other: 0
544 # DYNSTR-INVALID-LLVM-NEXT: Section: Undefined (0x0)
545 # DYNSTR-INVALID-LLVM-NEXT: }
546 # DYNSTR-INVALID-LLVM-NEXT: Symbol {
547 # DYNSTR-INVALID-LLVM-NEXT: Name: test (1)
548 # DYNSTR-INVALID-LLVM-NEXT: Value: 0x0
549 # DYNSTR-INVALID-LLVM-NEXT: Size: 0
550 # DYNSTR-INVALID-LLVM-NEXT: Binding: Local (0x0)
551 # DYNSTR-INVALID-LLVM-NEXT: Type: None (0x0)
552 # DYNSTR-INVALID-LLVM-NEXT: Other: 0
553 # DYNSTR-INVALID-LLVM-NEXT: Section: Undefined (0x0)
554 # DYNSTR-INVALID-LLVM-NEXT: }
555 # DYNSTR-INVALID-LLVM-NEXT: ]
600 …ymbols %t15.entsize 2>&1 | FileCheck %s -DFILE=%t15.entsize --check-prefix=DYNSYM-ZERO-ENTSIZE-LLVM
604 # DYNSYM-ZERO-ENTSIZE-LLVM: DynamicSymbols [
605 # DYNSYM-ZERO-ENTSIZE-LLVM-NEXT: warning: '[[FILE]]': SHT_DYNSYM section with index 1 has invalid …
606 # DYNSYM-ZERO-ENTSIZE-LLVM-NEXT: ]
630 # RUN: --check-prefixes=OFFSET-BROKEN,OFFSET-BROKEN-LLVM
636 # OFFSET-BROKEN-LLVM: DynamicSymbols [
637 # OFFSET-BROKEN-LLVM-NEXT: ]
644 # RUN: --check-prefixes=SIZE-BROKEN,SIZE-BROKEN-LLVM
650 # SIZE-BROKEN-LLVM: DynamicSymbols [
651 # SIZE-BROKEN-LLVM-NEXT: ]
657 # RUN: --check-prefixes=LINK-BROKEN1,LINK-BROKEN-LLVM --implicit-check-not=warning:
663 # RUN: --check-prefixes=LINK-BROKEN1,LINK-SEC-HDRS-LLVM,LINK-BROKEN-LLVM --implicit-check-not=war…
669 # RUN: --check-prefixes=LINK-BROKEN2,LINK-BROKEN-LLVM --implicit-check-not=warning:
675 # RUN: --check-prefixes=LINK-BROKEN2,LINK-SEC-HDRS-LLVM,LINK-BROKEN-LLVM --implicit-check-not=war…
682 # LINK-SEC-HDRS-LLVM: Sections [
685 # LINK-BROKEN-LLVM: DynamicSymbols [
686 # LINK-BROKEN-LLVM-NEXT: warning: '[[FILE]]': st_name (0x0) is past the end of the string table of …
687 # LINK-BROKEN-LLVM-NEXT: Symbol {
688 # LINK-BROKEN-LLVM-NEXT: Name: <?> (0)
689 # LINK-BROKEN-LLVM-NEXT: Value: 0x0
690 # LINK-BROKEN-LLVM-NEXT: Size: 0
691 # LINK-BROKEN-LLVM-NEXT: Binding: Local (0x0)
692 # LINK-BROKEN-LLVM-NEXT: Type: None (0x0)
693 # LINK-BROKEN-LLVM-NEXT: Other: 0
694 # LINK-BROKEN-LLVM-NEXT: Section: Undefined (0x0)
695 # LINK-BROKEN-LLVM-NEXT: }
696 # LINK-BROKEN-LLVM-NEXT: warning: '[[FILE]]': st_name (0x1) is past the end of the string table of …
697 # LINK-BROKEN-LLVM-NEXT: Symbol {
698 # LINK-BROKEN-LLVM-NEXT: Name: <?> (1)
699 # LINK-BROKEN-LLVM-NEXT: Value: 0x0
700 # LINK-BROKEN-LLVM-NEXT: Size: 0
701 # LINK-BROKEN-LLVM-NEXT: Binding: Local (0x0)
702 # LINK-BROKEN-LLVM-NEXT: Type: None (0x0)
703 # LINK-BROKEN-LLVM-NEXT: Other: 0
704 # LINK-BROKEN-LLVM-NEXT: Section: Undefined (0x0)
705 # LINK-BROKEN-LLVM-NEXT: }
706 # LINK-BROKEN-LLVM-NEXT: ]