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
/
no-phdrs.yaml
blob
15a701c85f66fb4818bc1e6d0bc85fb74913be94
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