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
/
symbol-index-invalid.yaml
blob
32042cc3e6c1313bfef85e1ad33f83e84717cc4a
1
## Check that "Index" and "Section" cannot be used together in a symbol.
2
3
# RUN: not yaml2obj %s
4
5
!ELF
6
FileHeader:
7
Class: ELFCLASS64
8
Data: ELFDATA2LSB
9
Type: ET_EXEC
10
Sections:
11
- Name: .text
12
Type: SHT_PROGBITS
13
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
14
Address: 0x1000
15
AddressAlign: 0x0000000000000010
16
Content: "0000000000000000"
17
Symbols:
18
Global:
19
- Name: _start
20
Section: .text
21
Index: SHN_ABS