17 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s3# RUN: ld.lld %t.o -o /dev/null --noinhibit-exec4# CHECK: error: {{.*}}.o: invalid symbol name offset5 6## YAML below contains symbol with name offset in st_name7## larger than string table size. Check we report it.8 9!ELF10FileHeader:11 Class: ELFCLASS6412 Data: ELFDATA2LSB13 Type: ET_REL14 Machine: EM_X86_6415Symbols:16 - StName: 25517