29 lines · plain
1# RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux2# RUN: obj2yaml %t.o | FileCheck %s3 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,comdat25 .quad undef26 27 .section .text.foo,"axG",@progbits,sym2,comdat28 .quad undef29