repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git]
/
test
/
tools
/
yaml2obj
/
elf-header-elfdatanone.yaml
blob
0e1d065ddcf34fd75d9a82660bb281fb63751792
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
15
Machine: EM_X86_64