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
17 - SectionOrType: GRP_COMDAT
20 # CHECK-NEXT: Type: SHT_GROUP
23 # CHECK-NEXT: Address:
27 # CHECK-NEXT: Info: 12345
29 ## Check we report multiple errors when multiple unknown symbols are referenced by SHT_GROUP sections.
31 # RUN: not yaml2obj --docnum=2 %s 2>&1 | FileCheck %s --check-prefix=ERR
33 # ERR: error: unknown symbol referenced: 'foo' by YAML section '.group1'
34 # ERR: error: unknown symbol referenced: 'bar' by YAML section '.group2'
48 - SectionOrType: GRP_COMDAT
54 - SectionOrType: GRP_COMDAT