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
11 - Name: .llvm.offloading
12 Type: SHT_LLVM_OFFLOADING
13 Flags: [ SHF_EXCLUDE ]
16 Flags: [ SHF_EXCLUDE ]
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)
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)
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 ]