19 lines
420 B
YAML
19 lines
420 B
YAML
# RUN: yaml2obj %s -o %t
|
|
# RUN: obj2yaml %t | FileCheck %s
|
|
|
|
## Check obj2yaml is able to dump sh_info field of a section.
|
|
|
|
# CHECK: - Name: .test
|
|
# CHECK-NEXT: Type: SHT_PROGBITS
|
|
# CHECK-NEXT: Info: 0x2A
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Sections:
|
|
- Name: .test
|
|
Type: SHT_PROGBITS
|
|
Info: 42
|