llvm-for-llvmta/test/tools/obj2yaml/ELF/shinfo.yaml

19 lines
420 B
YAML
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# 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