[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / ObjectYAML / ELF / sht-offloading.yaml
blobb234b967517b71e48e9a1806b04c93b9e068ae5c
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 ]
15 #      OBJ: Sections [
16 #      OBJ:   Section {
17 #      OBJ:     Index: 1
18 # OBJ-NEXT:     Name: .llvm.offloading (1)
19 # OBJ-NEXT:     Type: SHT_LLVM_OFFLOADING (0x6FFF4C0B)
20 # OBJ-NEXT:     Flags [ (0x80000000)
21 # OBJ-NEXT:       SHF_EXCLUDE (0x80000000)
22 # OBJ-NEXT:     ]
25 #      YAML: Sections:
26 # YAML-NEXT:   - Name:            .llvm.offloading
27 # YAML-NEXT:     Type:            SHT_LLVM_OFFLOADING
28 # YAML-NEXT:     Flags:           [ SHF_EXCLUDE ]