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