llvm.org GIT mirror llvm / e35a90c
Fix r253186 test case Referencing a DILocation whose scope is a different subprogram causes an assertion failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253187 91177308-0d34-0410-b5e6-96231b3b80d8 Keno Fischer 4 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2121
2222 define i32 @bar() !dbg !5 {
2323 entry:
24 ret i32 0, !dbg !13
24 ret i32 0, !dbg !16
2525 }
2626
2727 !llvm.dbg.cu = !{!0}
4343 !13 = !DILocation(line: 7, scope: !4)
4444 !14 = !{!10}
4545 !15 = !DISubroutineType(types: !14)
46 !16 = !DILocation(line: 7, scope: !5)