[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / ObjectYAML / ELF / llvm-section-types.yaml
blobefa283930d073777eac328530c512daa20830508
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj --sections %t | FileCheck -check-prefix=OBJ %s
3 # RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
5 --- !ELF
6 FileHeader:
7   Class:           ELFCLASS32
8   Data:            ELFDATA2LSB
9   Type:            ET_REL
10 Sections:
11   - Name:            .llvm.offloading
12     Type:            SHT_LLVM_OFFLOADING
13     Flags:           [ SHF_EXCLUDE ]
14   - Name:            .llvm.lto
15     Type:            SHT_LLVM_LTO
16     Flags:           [ SHF_EXCLUDE ]
18 #      OBJ: Sections [
19 #      OBJ:   Section {
20 #      OBJ:     Index: 1
21 # OBJ-NEXT:     Name: .llvm.offloading
22 # OBJ-NEXT:     Type: SHT_LLVM_OFFLOADING (0x6FFF4C0B)
23 # OBJ-NEXT:     Flags [ (0x80000000)
24 # OBJ-NEXT:       SHF_EXCLUDE (0x80000000)
25 # OBJ-NEXT:     ]
26 #      OBJ:   Section {
27 #      OBJ:     Index: 2
28 # OBJ-NEXT:     Name: .llvm.lto
29 # OBJ-NEXT:     Type: SHT_LLVM_LTO (0x6FFF4C0C)
30 # OBJ-NEXT:     Flags [ (0x80000000)
31 # OBJ-NEXT:       SHF_EXCLUDE (0x80000000)
32 # OBJ-NEXT:     ]
35 #      YAML: Sections:
36 # YAML-NEXT:   - Name:            .llvm.offloading
37 # YAML-NEXT:     Type:            SHT_LLVM_OFFLOADING
38 # YAML-NEXT:     Flags:           [ SHF_EXCLUDE ]
39 # YAML:        - Name:            .llvm.lto
40 # YAML-NEXT:     Type:            SHT_LLVM_LTO
41 # YAML-NEXT:     Flags:           [ SHF_EXCLUDE ]