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
[yaml2obj][obj2yaml] - Do not create a symbol table by default.
[llvm-complete.git]
/
test
/
tools
/
yaml2obj
/
elf-no-phdrs.yaml
blob
e056b808e2fc82dcf1e5e9610d1619becba58403
1
## Check that e_phoff and e_phentsize are set to 0 when there are no
2
## program headers.
3
4
# RUN: yaml2obj %s -o %t
5
# RUN: llvm-readobj --file-headers %t | FileCheck %s
6
7
# CHECK: ProgramHeaderOffset: 0x0{{$}}
8
# CHECK: ProgramHeaderEntrySize: 0{{$}}
9
10
--- !ELF
11
FileHeader:
12
Class: ELFCLASS64
13
Data: ELFDATA2LSB
14
Type: ET_REL
15
Machine: EM_X86_64