Adrian Prantl | ea7eb84 | 2016-04-11 23:26:31 +0000 | [diff] [blame] | 1 | define void @foo1() !dbg !0 { |
| 2 | ret void, !dbg !3 |
| 3 | } |
Duncan P. N. Exon Smith | 47d82981 | 2015-01-14 01:20:27 +0000 | [diff] [blame] | 4 | |
Adrian Prantl | ea7eb84 | 2016-04-11 23:26:31 +0000 | [diff] [blame] | 5 | !named = !{!1, !2, !3, !4, !5} |
| 6 | |
Adrian Prantl | 75819ae | 2016-04-15 15:57:41 +0000 | [diff] [blame] | 7 | !0 = distinct !DISubprogram(file: !7, scope: !7, line: 1, name: "foo", type: !9, unit: !6) |
Adrian Prantl | ea7eb84 | 2016-04-11 23:26:31 +0000 | [diff] [blame] | 8 | |
| 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 Smith | a5a0f57 | 2015-01-14 01:29:32 +0000 | [diff] [blame] | 12 | ; Test distinct nodes. |
Adrian Prantl | ea7eb84 | 2016-04-11 23:26:31 +0000 | [diff] [blame] | 13 | !4 = distinct !DILocation(line: 3, column: 7, scope: !10) |
| 14 | !5 = distinct !DILocation(line: 3, column: 7, scope: !10, inlinedAt: !4) |
Adrian Prantl | 115edca | 2016-04-11 20:58:57 +0000 | [diff] [blame] | 15 | |
| 16 | !llvm.dbg.cu = !{!6} |
Adrian Prantl | 75819ae | 2016-04-15 15:57:41 +0000 | [diff] [blame] | 17 | !6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7) |
Adrian Prantl | 115edca | 2016-04-11 20:58:57 +0000 | [diff] [blame] | 18 | !7 = !DIFile(filename: "source.c", directory: "/dir") |
Adrian Prantl | ea7eb84 | 2016-04-11 23:26:31 +0000 | [diff] [blame] | 19 | |
| 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) |