1# RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
2# RUN: obj2yaml %t.o | FileCheck %s
3
4# CHECK: Sections:
5# CHECK: - Name:            .text.foo{{$}}
6# CHECK: - Name:            '.text.foo (1)'
7# CHECK: - Name:            .group{{$}}
8# CHECK:   Members:
9# CHECK:     - SectionOrType:   .text.foo{{$}}
10# CHECK:     - SectionOrType:   .rela.text.foo{{$}}
11# CHECK: - Name:            '.group (1)'
12# CHECK:   Members:
13# CHECK:     - SectionOrType:   '.text.foo (1)'
14# CHECK:     - SectionOrType:   '.rela.text.foo (1)'
15# CHECK: - Name:            .rela.text.foo{{$}}
16# CHECK:   Info:            .text.foo{{$}}
17# CHECK: - Name:            '.rela.text.foo (1)'
18# CHECK:   Info:            '.text.foo (1)'
19# CHECK: Symbols:
20# CHECK:   Section:         .group{{$}}
21# CHECK:   Section:         '.group (1)'
22
23
24        .section        .text.foo,"axG",@progbits,sym1,comdat
25        .quad undef
26
27        .section        .text.foo,"axG",@progbits,sym2,comdat
28        .quad undef
29