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
4
5--- !ELF
6FileHeader:
7  Class:           ELFCLASS32
8  Data:            ELFDATA2LSB
9  Type:            ET_REL
10  Machine:         EM_386
11Sections:
12  - Name:            .debug_line
13    Type:            SHT_PROGBITS
14    Flags:           [ SHF_COMPRESSED ]
15
16# OBJ:      Sections [
17# OBJ:        Section {
18# OBJ:          Index: 1
19# OBJ-NEXT:     Name: .debug_line (1)
20# OBJ-NEXT:     Type: SHT_PROGBITS (0x1)
21# OBJ-NEXT:     Flags [ (0x800)
22# OBJ-NEXT:       SHF_COMPRESSED (0x800)
23# OBJ-NEXT:     ]
24
25# YAML:      Sections:
26# YAML-NEXT:   - Name:            .debug_line
27# YAML-NEXT:     Type:            SHT_PROGBITS
28# YAML-NEXT:     Flags:           [ SHF_COMPRESSED ]
29