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