llvm-for-llvmta/test/tools/yaml2obj/ELF/header-elfdatanone.yaml

15 lines
321 B
YAML
Raw Normal View History

2022-04-25 10:02:23 +02:00
## We have a YAML file describing an invalid data type.
## Check we are able to produce the invalid binary.
# RUN: yaml2obj %s -o %t.o
## Check that EI_DATA field is ELFDATANONE(0)
# RUN: od -b %t.o +5 | FileCheck %s
# CHECK: 0000005 000
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATANONE
Type: ET_REL