• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: yaml2obj %s -o %t.o
3# RUN: not ld.lld %t.o %t.o -o /dev/null 2>&1 | FileCheck %s
4# CHECK: error: {{.*}}.o: invalid section index in group: 12345
5
6--- !ELF
7FileHeader:
8  Class:               ELFCLASS64
9  Data:                ELFDATA2LSB
10  Type:                ET_REL
11  Machine:             EM_X86_64
12Sections:
13  - Name:              .group
14    Type:              SHT_GROUP
15    Link:              .symtab
16    Info:              foo
17    Members:
18      - SectionOrType: GRP_COMDAT
19      - SectionOrType: 12345
20Symbols:
21  - Name:            foo
22    Binding:         STB_GLOBAL
23