1 ## Check we are able to produce an SHT_GROUP section with a custom Info value (12345).
3 # RUN: yaml2obj %s -o %t1
4 # RUN: llvm-readobj --sections %t1 | FileCheck %s
16 - SectionOrType: GRP_COMDAT
19 # CHECK-NEXT: Type: SHT_GROUP
22 # CHECK-NEXT: Address:
26 # CHECK-NEXT: Info: 12345
28 ## Check we report multiple errors when multiple unknown symbols are referenced by SHT_GROUP sections.
30 # RUN: not yaml2obj --docnum=2 %s 2>&1 | FileCheck %s --check-prefix=ERR
32 # ERR: error: unknown symbol referenced: 'foo' by YAML section '.group1'
33 # ERR: error: unknown symbol referenced: 'bar' by YAML section '.group2'
45 - SectionOrType: GRP_COMDAT
50 - SectionOrType: GRP_COMDAT