1# RUN: yaml2obj %s -o %t 2# RUN: llvm-readobj --sections --elf-section-groups %t | FileCheck %s 3 4--- !ELF 5FileHeader: 6 Class: ELFCLASS64 7 Data: ELFDATA2LSB 8 Type: ET_REL 9Sections: 10 - Name: .group 11 Type: SHT_GROUP 12 Info: foo 13 Members: 14 - SectionOrType: 0xFF 15 - SectionOrType: 3 16Symbols: 17 - Name: foo 18 - Binding: STB_GLOBAL 19 20## Check we are able to produce SHT_GROUP section with a custom Type (0xFF). 21# CHECK: Groups { 22# CHECK-NEXT: Group { 23# CHECK-NEXT: Name: .group 24# CHECK-NEXT: Index: 1 25# CHECK-NEXT: Link: 2 26# CHECK-NEXT: Info: 1 27# CHECK-NEXT: Type: COMDAT (0xFF) 28# CHECK-NEXT: Signature: foo 29# CHECK-NEXT: Section(s) in group [ 30# CHECK-NEXT: .strtab (3) 31# CHECK-NEXT: ] 32# CHECK-NEXT: } 33