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