Home | History | Annotate | Download | only in llvm-readobj
      1 RUN: llvm-readobj -t %p/Inputs/trivial.obj.coff-i386 \
      2 RUN:   | FileCheck %s -check-prefix COFF
      3 RUN: llvm-readobj -t %p/Inputs/trivial.obj.elf-i386 \
      4 RUN:   | FileCheck %s -check-prefix ELF
      5 
      6 COFF:      Symbols [
      7 COFF-NEXT:   Symbol {
      8 COFF-NEXT:     Name: .text
      9 COFF-NEXT:     Value: 0
     10 COFF-NEXT:     Section: .text (1)
     11 COFF-NEXT:     BaseType: Null (0x0)
     12 COFF-NEXT:     ComplexType: Null (0x0)
     13 COFF-NEXT:     StorageClass: Static (0x3)
     14 COFF-NEXT:     AuxSymbolCount: 1
     15 COFF-NEXT:     AuxSectionDef {
     16 COFF-NEXT:       Length: 22
     17 COFF-NEXT:       RelocationCount: 3
     18 COFF-NEXT:       LineNumberCount: 0
     19 COFF-NEXT:       Checksum: 0x0
     20 COFF-NEXT:       Number: 1
     21 COFF-NEXT:       Selection: 0x0
     22 COFF-NEXT:       Unused: (00 00 00)
     23 COFF-NEXT:     }
     24 COFF-NEXT:   }
     25 
     26 ELF:      Symbols [
     27 ELF-NEXT:   Symbol {
     28 ELF-NEXT:     Name:  (0)
     29 ELF-NEXT:     Value: 0x0
     30 ELF-NEXT:     Size: 0
     31 ELF-NEXT:     Binding: Local (0x0)
     32 ELF-NEXT:     Type: None (0x0)
     33 ELF-NEXT:     Other: 0
     34 ELF-NEXT:     Section:  (0x0)
     35 ELF-NEXT:   }
     36 ELF-NEXT:   Symbol {
     37 ELF-NEXT:     Name: trivial.ll (1)
     38 ELF-NEXT:     Value: 0x0
     39 ELF-NEXT:     Size: 0
     40 ELF-NEXT:     Binding: Local (0x0)
     41 ELF-NEXT:     Type: File (0x4)
     42 ELF-NEXT:     Other: 0
     43 ELF-NEXT:     Section:  (0xFFF1)
     44 ELF-NEXT:   }
     45 ELF-NEXT:   Symbol {
     46 ELF-NEXT:     Name: .L.str (39)
     47 ELF-NEXT:     Value: 0x0
     48 ELF-NEXT:     Size: 13
     49 ELF-NEXT:     Binding: Local (0x0)
     50 ELF-NEXT:     Type: Object (0x1)
     51 ELF-NEXT:     Other: 0
     52 ELF-NEXT:     Section: .rodata.str1.1 (0x5)
     53 ELF-NEXT:   }
     54