• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t
2# RUN: obj2yaml %t | FileCheck %s
3
4## Check obj2yaml is able to dump sh_info field of a section.
5
6# CHECK:      - Name:            .test
7# CHECK-NEXT:   Type:            SHT_PROGBITS
8# CHECK-NEXT:   Info:            0x2A
9
10--- !ELF
11FileHeader:
12  Class: ELFCLASS64
13  Data:  ELFDATA2LSB
14  Type:  ET_REL
15Sections:
16  - Name:            .test
17    Type:            SHT_PROGBITS
18    Info:            42
19