Emit DWARF line entries for all data in the instruction stream.
[oota-llvm.git] / test / MC / ELF / comdat-reloc.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck %s
2
3   .text
4   .globl  hello
5   .type  hello,@function
6 hello:
7   call  world
8   ret
9
10   .section  .text.world,"axG",@progbits,world,comdat
11   .type  world,@function
12 world:
13   call  doctor
14   ret
15
16 // CHECK:  Name: .group
17 // CHECK-NOT: SectionData
18 // CHECK: SectionData
19 // CHECK-NEXT: 0000: 01000000 06000000 07000000
20
21 // CHECK: Index: 6
22 // CHECK-NEXT: Name: .text.world
23 // CHECK-NOT: Section {
24 // CHECK: SHF_GROUP
25
26 // CHECK: Index: 7
27 // CHECK-NEXT: Name: .rela.text.world
28 // CHECK-NOT: Section {
29 // CHECK: SHF_GROUP