diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-11-16 08:25:14 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-11-16 08:25:14 +0000 |
commit | 6c543c501db789f5df76af09127659c3da5884d3 (patch) | |
tree | b0afaa092ebde473f130a9719bce856256d5226a | |
parent | b011c63d198ec5eccb69ea0140cfec81820e1a90 (diff) | |
download | bcm5719-llvm-6c543c501db789f5df76af09127659c3da5884d3.tar.gz bcm5719-llvm-6c543c501db789f5df76af09127659c3da5884d3.zip |
Fix r253186 test case
Referencing a DILocation whose scope is a different subprogram causes
an assertion failure.
llvm-svn: 253187
-rwxr-xr-x | llvm/test/DebugInfo/Generic/ptrsize.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/Generic/ptrsize.ll b/llvm/test/DebugInfo/Generic/ptrsize.ll index 694aa0bbf3e..dfdcb5c0e79 100755 --- a/llvm/test/DebugInfo/Generic/ptrsize.ll +++ b/llvm/test/DebugInfo/Generic/ptrsize.ll @@ -22,7 +22,7 @@ entry: define i32 @bar() !dbg !5 { entry: - ret i32 0, !dbg !13 + ret i32 0, !dbg !16 } !llvm.dbg.cu = !{!0} @@ -44,3 +44,4 @@ entry: !13 = !DILocation(line: 7, scope: !4) !14 = !{!10} !15 = !DISubroutineType(types: !14) +!16 = !DILocation(line: 7, scope: !5) |