• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple x86_64-pc-linux-gnu < %s | FileCheck %s
2
3; CHECK:      .long   .Lline_table_start0          # DW_AT_stmt_list
4
5; CHECK:      .section        .debug_line,"",@progbits
6; CHECK-NEXT: .Lline_table_start0:
7
8define void @f() !dbg !0 {
9entry:
10  ret void
11}
12
13!llvm.dbg.cu = !{!2}
14!llvm.module.flags = !{!7}
15!5 = !{!0}
16
17!0 = distinct !DISubprogram(name: "f", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !2, scopeLine: 1, file: !6, scope: !1, type: !3)
18!1 = !DIFile(filename: "test2.c", directory: "/home/espindola/llvm")
19!2 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.0 ()", isOptimized: true, emissionKind: FullDebug, file: !6, enums: !{}, retainedTypes: !{})
20!3 = !DISubroutineType(types: !4)
21!4 = !{null}
22!6 = !DIFile(filename: "test2.c", directory: "/home/espindola/llvm")
23!7 = !{i32 1, !"Debug Info Version", i32 3}
24