# RUN: yaml2obj %s -o %t
# RUN: llvm-readobj --sections %t | FileCheck -check-prefix=OBJ %s
# RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
---
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_REL
Sections:
- Name: .llvm.offloading
Type: SHT_LLVM_OFFLOADING
Flags:
# OBJ: Sections [
# OBJ: Section {
# OBJ: Index: 1
# OBJ-NEXT: Name: .llvm.offloading (1)
# OBJ-NEXT: Type: SHT_LLVM_OFFLOADING (0x6FFF4C0B)
# OBJ-NEXT: Flags [ (0x80000000)
# OBJ-NEXT: SHF_EXCLUDE (0x80000000)
# OBJ-NEXT: ]
# YAML: Sections:
# YAML-NEXT: - Name: .llvm.offloading
# YAML-NEXT: Type: SHT_LLVM_OFFLOADING
# YAML-NEXT: Flags: [ SHF_EXCLUDE ]