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
18 - SectionOrType: GRP_COMDAT
21 # CHECK-NEXT: Type: SHT_GROUP
24 # CHECK-NEXT: Address:
28 # CHECK-NEXT: Info: 12345
30 ## Check we report multiple errors when multiple unknown symbols are referenced by SHT_GROUP sections.
32 # RUN: not yaml2obj --docnum=2 %s 2>&1 | FileCheck %s --check-prefix=ERR
34 # ERR: error: unknown symbol referenced: 'foo' by YAML section '.group1'
35 # ERR: error: unknown symbol referenced: 'bar' by YAML section '.group2'
49 - SectionOrType: GRP_COMDAT
55 - SectionOrType: GRP_COMDAT