blob: 0d92de24bd318dcbbc378a6c026f4c32bd8adf12 [file] [log] [blame]
## Check that "Name" defaults to an empty string.
# RUN: yaml2obj %s -o %t
# RUN: llvm-readobj --sections %t | FileCheck %s
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Sections:
- Type: SHT_PROGBITS
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
# CHECK: Name: (
# CHECK-NEXT: Type: SHT_NULL
# CHECK: Name: (
# CHECK-NEXT: Type: SHT_PROGBITS
# CHECK: Name: .text
# CHECK-NEXT: Type: SHT_PROGBITS