[llvm-nm] - Fix a bug and unbreak ASan BB.
[llvm-complete.git] / test / Object / X86 / obj2yaml-dup-section-name.s
blob0c480b420c26ff024172db0b3fc1b1e4807ce3dd
1 # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
2 # RUN: obj2yaml %t.o | FileCheck %s
4 # CHECK: Sections:
5 # CHECK: - Name: .group{{$}}
6 # CHECK: Members:
7 # CHECK: - SectionOrType: .text.foo{{$}}
8 # CHECK: - SectionOrType: .rela.text.foo{{$}}
9 # CHECK: - Name: .text.foo{{$}}
10 # CHECK: - Name: .rela.text.foo{{$}}
11 # CHECK: Info: .text.foo{{$}}
12 # CHECK: - Name: '.group [1]'
13 # CHECK: Members:
14 # CHECK: - SectionOrType: '.text.foo [1]'
15 # CHECK: - SectionOrType: '.rela.text.foo [1]'
16 # CHECK: - Name: '.text.foo [1]'
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]'
24 .section .text.foo,"axG",@progbits,sym1,comdat
25 .quad undef
27 .section .text.foo,"axG",@progbits,sym2,comdat
28 .quad undef