abd9006ac6c649a66bfe61a14ba8231f3b8bbbc9
[oota-llvm.git] / test / DebugInfo / X86 / stmt-list.ll
1 ; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s
2
3 ; CHECK:      .section        .debug_line,"",@progbits
4 ; CHECK-NEXT: .Lsection_line:
5
6 ; CHECK:      .long   .Lline_table_start0          # DW_AT_stmt_list
7
8 define void @f() {
9 entry:
10   ret void
11 }
12
13 !llvm.dbg.cu = !{!2}
14 !llvm.module.flags = !{!7}
15 !5 = !{!0}
16
17 !0 = !{!"0x2e\00f\00f\00\001\000\001\000\006\00256\001\001", !6, !1, !3, null, void ()* @f, null, null, null} ; [ DW_TAG_subprogram ] [line 1] [def] [f]
18 !1 = !{!"0x29", !6} ; [ DW_TAG_file_type ]
19 !2 = !{!"0x11\0012\00clang version 3.0 ()\001\00\000\00\000", !6, !4, !4, !5, null, null} ; [ DW_TAG_compile_unit ]
20 !3 = !{!"0x15\00\000\000\000\000\000\000", !6, !1, null, !4, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
21 !4 = !{null}
22 !6 = !{!"test2.c", !"/home/espindola/llvm"}
23 !7 = !{i32 1, !"Debug Info Version", i32 2}