• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t.o
2# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
3# CHECK: error: {{.*}}.o: invalid symbol name offset
4
5## YAML below contains symbol with name offset in st_name
6## larger than string table size. Check we report it.
7
8!ELF
9FileHeader:
10  Class:       ELFCLASS64
11  Data:        ELFDATA2LSB
12  Type:        ET_REL
13  Machine:     EM_X86_64
14Symbols:
15  - StName: 255
16