mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Add missing DICompileUnit to this testcase
llvm-svn: 265995
This commit is contained in:
parent
54c5237c6b
commit
8e51262d6a
@ -24,6 +24,7 @@ define void @test(i32* %a, i8* %b) {
|
||||
declare void @foo()
|
||||
|
||||
!llvm.module.flags = !{!17}
|
||||
!llvm.dbg.cu = !{!8}
|
||||
|
||||
!0 = !{!"boring"}
|
||||
!1 = !{!"uninteresting"}
|
||||
@ -31,6 +32,7 @@ declare void @foo()
|
||||
!3 = !{!"noise"}
|
||||
!4 = !{!"filler"}
|
||||
|
||||
!8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !15, subprograms: !{!9})
|
||||
!9 = distinct !DISubprogram(name: "test", file: !15)
|
||||
!10 = !DILocation(line: 100, column: 101, scope: !9)
|
||||
!11 = !DILocation(line: 102, column: 103, scope: !9)
|
||||
|
@ -7,3 +7,7 @@
|
||||
; Test distinct nodes.
|
||||
!4 = distinct !DILocation(line: 3, column: 7, scope: !0)
|
||||
!5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4)
|
||||
|
||||
!llvm.dbg.cu = !{!6}
|
||||
!6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0})
|
||||
!7 = !DIFile(filename: "source.c", directory: "/dir")
|
||||
|
@ -24,3 +24,7 @@
|
||||
; Test distinct nodes.
|
||||
!4 = distinct !DILocation(line: 3, column: 7, scope: !0)
|
||||
!5 = distinct !DILocation(line: 3, column: 7, scope: !0, inlinedAt: !4)
|
||||
|
||||
!llvm.dbg.cu = !{!6}
|
||||
!6 = distinct !DICompileUnit(language: DW_LANG_C89, file: !7, subprograms: !{!0})
|
||||
!7 = !DIFile(filename: "source.c", directory: "/dir")
|
||||
|
Loading…
Reference in New Issue
Block a user