blob: 0f6a162bdba3285073ef82c9bdb877ce9602f3f0 [file] [log] [blame]
Adrian Prantlea7eb842016-04-11 23:26:31 +00001define void @foo1() !dbg !0 {
2 ret void, !dbg !3
3}
Duncan P. N. Exon Smith47d829812015-01-14 01:20:27 +00004
Adrian Prantlea7eb842016-04-11 23:26:31 +00005!named = !{!1, !2, !3, !4, !5}
6
Adrian Prantl75819ae2016-04-15 15:57:41 +00007!0 = distinct !DISubprogram(file: !7, scope: !7, line: 1, name: "foo", type: !9, unit: !6)
Adrian Prantlea7eb842016-04-11 23:26:31 +00008
9!1 = !DILocation(line: 3, column: 7, scope: !10)
10!2 = !DILocation(line: 3, column: 7, scope: !10, inlinedAt: !1)
11!3 = !DILocation(line: 3, column: 7, scope: !10, inlinedAt: !2)
Duncan P. N. Exon Smitha5a0f572015-01-14 01:29:32 +000012; Test distinct nodes.
Adrian Prantlea7eb842016-04-11 23:26:31 +000013!4 = distinct !DILocation(line: 3, column: 7, scope: !10)
14!5 = distinct !DILocation(line: 3, column: 7, scope: !10, inlinedAt: !4)
Adrian Prantl115edca2016-04-11 20:58:57 +000015
16!llvm.dbg.cu = !{!6}
Adrian Prantl75819ae2016-04-15 15:57:41 +000017!6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7)
Adrian Prantl115edca2016-04-11 20:58:57 +000018!7 = !DIFile(filename: "source.c", directory: "/dir")
Adrian Prantlea7eb842016-04-11 23:26:31 +000019
20!llvm.module.flags = !{!8}
21!8 = !{i32 1, !"Debug Info Version", i32 3}
22!9 = !DISubroutineType(types: !{})
23!10 = distinct !DILexicalBlock(line: 3, column: 3, file: !7, scope: !0)