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: @comp.id
      9 COFF-NEXT:    Value: 14766605
     10 COFF-NEXT:    Section:  IMAGE_SYM_ABSOLUTE (-1)
     11 COFF-NEXT:     BaseType: Null (0x0)
     12 COFF-NEXT:     ComplexType: Null (0x0)
     13 COFF-NEXT:    StorageClass: Static (0x3)
     14 COFF-NEXT:    AuxSymbolCount: 0
     15 COFF-NEXT:   }
     16 COFF-NEXT:   Symbol {
     17 COFF-NEXT:    Name: @feat.00
     18 COFF-NEXT:    Value: 2147484049
     19 COFF-NEXT:     Section:  IMAGE_SYM_ABSOLUTE (-1)
     20 COFF-NEXT:     BaseType: Null (0x0)
     21 COFF-NEXT:    ComplexType: Null (0x0)
     22 COFF-NEXT:    StorageClass: Static (0x3)
     23 COFF-NEXT:     AuxSymbolCount: 0
     24 COFF-NEXT:   }
     25 COFF-NEXT:   Symbol {
     26 COFF-NEXT:     Name: .text
     27 COFF-NEXT:     Value: 0
     28 COFF-NEXT:     Section: .text (1)
     29 COFF-NEXT:     BaseType: Null (0x0)
     30 COFF-NEXT:     ComplexType: Null (0x0)
     31 COFF-NEXT:     StorageClass: Static (0x3)
     32 COFF-NEXT:     AuxSymbolCount: 1
     33 COFF-NEXT:     AuxSectionDef {
     34 COFF-NEXT:       Length: 22
     35 COFF-NEXT:       RelocationCount: 3
     36 COFF-NEXT:       LineNumberCount: 0
     37 COFF-NEXT:       Checksum: 0x0
     38 COFF-NEXT:       Number: 1
     39 COFF-NEXT:       Selection: 0x0
     40 COFF-NEXT:     }
     41 COFF-NEXT:   }
     42 
     43 ELF:      Symbols [
     44 ELF-NEXT:   Symbol {
     45 ELF-NEXT:     Name:  (0)
     46 ELF-NEXT:     Value: 0x0
     47 ELF-NEXT:     Size: 0
     48 ELF-NEXT:     Binding: Local (0x0)
     49 ELF-NEXT:     Type: None (0x0)
     50 ELF-NEXT:     Other: 0
     51 ELF-NEXT:     Section: Undefined (0x0)
     52 ELF-NEXT:   }
     53 ELF-NEXT:   Symbol {
     54 ELF-NEXT:     Name: trivial.ll (1)
     55 ELF-NEXT:     Value: 0x0
     56 ELF-NEXT:     Size: 0
     57 ELF-NEXT:     Binding: Local (0x0)
     58 ELF-NEXT:     Type: File (0x4)
     59 ELF-NEXT:     Other: 0
     60 ELF-NEXT:     Section: Absolute (0xFFF1)
     61 ELF-NEXT:   }
     62 ELF-NEXT:   Symbol {
     63 ELF-NEXT:     Name: .L.str (39)
     64 ELF-NEXT:     Value: 0x0
     65 ELF-NEXT:     Size: 13
     66 ELF-NEXT:     Binding: Local (0x0)
     67 ELF-NEXT:     Type: Object (0x1)
     68 ELF-NEXT:     Other: 0
     69 ELF-NEXT:     Section: .rodata.str1.1 (0x5)
     70 ELF-NEXT:   }
     71