symbols.test revision c9f2cc7e05b2a7f3991a94cad1730a59dd7555e3
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: .text 9COFF-NEXT: Value: 0 10COFF-NEXT: Section: .text (1) 11COFF-NEXT: BaseType: Null (0x0) 12COFF-NEXT: ComplexType: Null (0x0) 13COFF-NEXT: StorageClass: Static (0x3) 14COFF-NEXT: AuxSymbolCount: 1 15COFF-NEXT: AuxSectionDef { 16COFF-NEXT: Length: 22 17COFF-NEXT: RelocationCount: 3 18COFF-NEXT: LineNumberCount: 0 19COFF-NEXT: Checksum: 0x0 20COFF-NEXT: Number: 1 21COFF-NEXT: Selection: 0x0 22COFF-NEXT: Unused: (00 00 00) 23COFF-NEXT: } 24COFF-NEXT: } 25 26ELF: Symbols [ 27ELF-NEXT: Symbol { 28ELF-NEXT: Name: (0) 29ELF-NEXT: Value: 0x0 30ELF-NEXT: Size: 0 31ELF-NEXT: Binding: Local (0x0) 32ELF-NEXT: Type: None (0x0) 33ELF-NEXT: Other: 0 34ELF-NEXT: Section: (0x0) 35ELF-NEXT: } 36ELF-NEXT: Symbol { 37ELF-NEXT: Name: trivial.ll (1) 38ELF-NEXT: Value: 0x0 39ELF-NEXT: Size: 0 40ELF-NEXT: Binding: Local (0x0) 41ELF-NEXT: Type: File (0x4) 42ELF-NEXT: Other: 0 43ELF-NEXT: Section: (0xFFF1) 44ELF-NEXT: } 45ELF-NEXT: Symbol { 46ELF-NEXT: Name: .L.str (39) 47ELF-NEXT: Value: 0x0 48ELF-NEXT: Size: 13 49ELF-NEXT: Binding: Local (0x0) 50ELF-NEXT: Type: Object (0x1) 51ELF-NEXT: Other: 0 52ELF-NEXT: Section: .rodata.str1.1 (0x5) 53ELF-NEXT: } 54