[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / Xtensa / Misc / elf-header.s
blob0c24784d261e5bb6cf9e39f72967e59ceec017d7
1 # RUN: llvm-mc %s -filetype=obj -triple=xtensa | llvm-readobj -h - \
2 # RUN: | FileCheck %s
4 # CHECK: Format: elf32-xtensa
5 # CHECK-NEXT: Arch: xtensa
6 # CHECK-NEXT: AddressSize: 32bit
7 # CHECK: ElfHeader {
8 # CHECK-NEXT: Ident {
9 # CHECK-NEXT: Magic: (7F 45 4C 46)
10 # CHECK-NEXT: Class: 32-bit (0x1)
11 # CHECK-NEXT: DataEncoding: LittleEndian (0x1)
12 # CHECK-NEXT: FileVersion: 1
13 # CHECK-NEXT: OS/ABI: SystemV (0x0)
14 # CHECK-NEXT: ABIVersion: 0
15 # CHECK-NEXT: Unused: (00 00 00 00 00 00 00)
16 # CHECK-NEXT: }
17 # CHECK-NEXT: Type: Relocatable (0x1)
18 # CHECK-NEXT: Machine: EM_XTENSA (0x5E)
19 # CHECK-NEXT: Version: 1
20 # CHECK-NEXT: Entry: 0x0
21 # CHECK-NEXT: ProgramHeaderOffset: 0x0
22 # CHECK-NEXT: SectionHeaderOffset: 0x5C
23 # CHECK-NEXT: Flags [ (0x0)
24 # CHECK-NEXT: ]
25 # CHECK-NEXT: HeaderSize: 52
26 # CHECK-NEXT: ProgramHeaderEntrySize: 0
27 # CHECK-NEXT: ProgramHeaderCount: 0
28 # CHECK-NEXT: SectionHeaderEntrySize: 40
29 # CHECK-NEXT: SectionHeaderCount: 4
30 # CHECK-NEXT: StringTableSectionIndex: 1
31 # CHECK-NEXT: }