Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / yaml2obj / ELF / section-ordering.yaml
blob8b313eb76540ed3be1917165ed44c57bca85d42e
1 ## Ensures that implicitly added sections can be ordered within Sections.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-readobj --sections %t | FileCheck %s
6 !ELF
7 FileHeader:
8   Class: ELFCLASS64
9   Data:  ELFDATA2LSB
10   Type:  ET_EXEC
11 Sections:
12   - Name:            .text
13     Type:            SHT_PROGBITS
14     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
15   - Name:            .symtab
16     Type:            SHT_SYMTAB
17   - Name:            .data
18     Type:            SHT_PROGBITS
19     Flags:           [ SHF_ALLOC, SHF_WRITE ]
20   - Name:            .shstrtab
21     Type:            SHT_STRTAB
22   - Name:            .strtab
23     Type:            SHT_STRTAB
25 # CHECK: Name: .text
26 # CHECK: Name: .symtab
27 # CHECK: Name: .data
28 # CHECK: Name: .shstrtab
29 # CHECK: Name: .strtab