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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
ELF
/
invalid
/
linkorder-invalid-sec.test
blob
a2f4ee8f5bc2b14c2586de097baf9d82f67ff47a
1
# REQUIRES: x86
2
# RUN: yaml2obj %s -o %t.o
3
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4
# CHECK: invalid sh_link index: 12345
5
6
--- !ELF
7
FileHeader:
8
Class: ELFCLASS64
9
Data: ELFDATA2LSB
10
Type: ET_REL
11
Machine: EM_X86_64
12
Sections:
13
- Name: .linkorder
14
Type: SHT_PROGBITS
15
Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_LINK_ORDER ]
16
Link: 12345