brintos

brintos / llvm-project-archived public Read only

0
0
Text · 442 B · 370597b Raw
18 lines · plain
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.o5# RUN: not ld.lld %t1.o -o /dev/null 2>&1 | FileCheck %s6# RUN: ld.lld %t1.o -o /dev/null --noinhibit-exec 2>&1 | FileCheck %s7# CHECK: {{.*}}1.o: invalid section index: 2568 9!ELF10FileHeader:11  Class:    ELFCLASS3212  Data:     ELFDATA2LSB13  Type:     ET_REL14  Machine:  EM_38615Symbols:16  - Name:   foo17    Index:  0x10018