blob: ad2edd942cc2aaaddfc58ecf530b770c9474fdba [file] [log] [blame]
# RUN: yaml2obj %s -o %t
# RUN: llvm-readobj --sections %t | FileCheck %s
# CHECK: Name: enum
# CHECK: Type: SHT_PROGBITS
# CHECK: Name: machine-specific
# CHECK: Type: SHT_X86_64_UNWIND
# CHECK: Name: hex
# CHECK: Type: Unknown (0xABCD)
# CHECK: Name: decimal
# CHECK: Type: Unknown (0x4D2)
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: enum
Type: SHT_PROGBITS
- Name: machine-specific
Type: SHT_X86_64_UNWIND
- Name: hex
Type: 0xabcd
- Name: decimal
Type: 1234