llvm.org GIT mirror llvm / 29b4ba0
Add missing DICompileUnit to this testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265995 91177308-0d34-0410-b5e6-96231b3b80d8 Adrian Prantl 3 years ago
3 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2323 declare void @foo()
2424
2525 !llvm.module.flags = !{!17}
26 !llvm.dbg.cu = !{!8}
2627
2728 !0 = !{!"boring"}
2829 !1 = !{!"uninteresting"}
3031 !3 = !{!"noise"}
3132 !4 = !{!"filler"}
3233
34 !8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !15, subprograms: !{!9})
3335 !9 = distinct !DISubprogram(name: "test", file: !15)
3436 !10 = !DILocation(line: 100, column: 101, scope: !9)
3537 !11 = !DILocation(line: 102, column: 103, scope: !9)
66 ; Test distinct nodes.
77 !4 = distinct !DILocation(line: 3, column: 7, scope: !0)
88 !5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4)
9
10 !llvm.dbg.cu = !{!6}
11 !6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0})
12 !7 = !DIFile(filename: "source.c", directory: "/dir")
2323 ; Test distinct nodes.
2424 !4 = distinct !DILocation(line: 3, column: 7, scope: !0)
2525 !5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4)
26
27 !llvm.dbg.cu = !{!6}
28 !6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0})
29 !7 = !DIFile(filename: "source.c", directory: "/dir")