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
/
symbol-index-invalid.yaml
blob
06ef1b51a267bb7540f8dd0168b8b855743d204b
1
# This test insures that the user cannot have both an Index and a Section field.
2
# RUN: not yaml2obj %s
3
4
!ELF
5
FileHeader:
6
Class: ELFCLASS64
7
Data: ELFDATA2LSB
8
Type: ET_EXEC
9
Machine: EM_X86_64
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