Emit DWARF line entries for all data in the instruction stream.
[oota-llvm.git] / test / MC / ELF / fde.s
1 # RUN: llvm-mc -filetype=obj %s -o %t.o -triple x86_64-pc-linux-gnu && llvm-objdump -s %t.o
2 # PR13581
3
4 # CHECK: Contents of section .debug_frame:
5 # CHECK-NEXT:  0000 14000000 ffffffff 01000178 100c0708  ...........x....
6 # CHECK-NEXT:  0010 90010000 00000000 1c000000 00000000  ................
7 # CHECK-NEXT:  0020 00000000 00000000 11000000 00000000  ................
8 # CHECK-NEXT:  0030 410e1086 02430d06                    A....C..
9
10 __cxx_global_var_init:                  # @__cxx_global_var_init
11         .cfi_startproc
12 .Lfunc_begin0:
13 # BB#0:                                 # %entry
14         pushq   %rbp
15 .Ltmp2:
16         .cfi_def_cfa_offset 16
17 .Ltmp3:
18         .cfi_offset %rbp, -16
19         movq    %rsp, %rbp
20 .Ltmp4:
21         .cfi_def_cfa_register %rbp
22 .Ltmp5:
23         callq   _Z2rsv@PLT
24         movl    %eax, _ZL1i(%rip)
25         popq    %rbp
26         ret
27         .cfi_endproc
28         .cfi_sections .debug_frame