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
/
section-index.test
blob
cc8c6d067265a8cb92bd7c74d3475a6385088c50
1
## If an object contains a symbol with a broken (too large) st_shndx,
2
## check we report it.
3
4
# RUN: yaml2obj %s -o %t1.o
5
# RUN: not ld.lld %t1.o -o /dev/null 2>&1 | FileCheck %s
6
# CHECK: {{.*}}1.o: invalid section index: 256
7
8
!ELF
9
FileHeader:
10
Class: ELFCLASS32
11
Data: ELFDATA2LSB
12
Type: ET_REL
13
Machine: EM_386
14
Symbols:
15
- Name: foo
16
Index: 0x100