repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
tools
/
yaml2obj
/
ELF
/
header-elfdatanone.yaml
blob
1e05496f8a2b326e7a4a58851757bec3b2d680bc
1
## We have a YAML file describing an invalid data type.
2
## Check we are able to produce the invalid binary.
3
4
# RUN: yaml2obj %s -o %t.o
5
6
## Check that EI_DATA field is ELFDATANONE(0)
7
# RUN: od -b %t.o +5 | FileCheck %s
8
# CHECK: 0000005 000
9
10
--- !ELF
11
FileHeader:
12
Class: ELFCLASS64
13
Data: ELFDATANONE
14
Type: ET_REL