llvm.org GIT mirror llvm / 9fd7184 test / tools / yaml2obj / unnamed-section.yaml
9fd7184

Tree @9fd7184 (Download .tar.gz)

unnamed-section.yaml @9fd7184raw · history · blame

# Ensure yaml2obj doesn't crash on unnamed sections
# RUN: yaml2obj %s

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_X86_64
Sections:
  - Type:            SHT_PROGBITS
  - Name:            .text
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]