diff options
| author | Adrian Prantl <aprantl@apple.com> | 2016-04-24 22:23:13 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2016-04-24 22:23:13 +0000 |
| commit | 93035c8f47589590b65041603524f48a7c007e1f (patch) | |
| tree | 59a23b722e790e923a44f3896d1dd1dbb2afb8d9 /llvm/test/DebugInfo/X86/arange-and-stub.ll | |
| parent | 1858c664de64fc8829bf09571aa82f6f4cea49b9 (diff) | |
| download | bcm5719-llvm-93035c8f47589590b65041603524f48a7c007e1f.tar.gz bcm5719-llvm-93035c8f47589590b65041603524f48a7c007e1f.zip | |
Verifier: Verify that each inlinable callsite of a debug-info-bearing function
in a debug-info-bearing function has a debug location attached to it. Failure to
do so causes an "!dbg attachment points at wrong subprogram for function"
assertion failure when the inliner sets up inline scope info.
rdar://problem/25878916
This reaplies r267320 without changes after fixing an issue in the OpenMP IR
generator in clang.
llvm-svn: 267370
Diffstat (limited to 'llvm/test/DebugInfo/X86/arange-and-stub.ll')
| -rw-r--r-- | llvm/test/DebugInfo/X86/arange-and-stub.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/arange-and-stub.ll b/llvm/test/DebugInfo/X86/arange-and-stub.ll index 668ea9c3a0b..891429e3ef1 100644 --- a/llvm/test/DebugInfo/X86/arange-and-stub.ll +++ b/llvm/test/DebugInfo/X86/arange-and-stub.ll @@ -18,7 +18,7 @@ define void @foo() !dbg !4 { define void @bar() personality i8* bitcast (void ()* @foo to i8*) !dbg !9 { invoke void @foo() - to label %invoke.cont unwind label %lpad + to label %invoke.cont unwind label %lpad, !dbg !19 invoke.cont: ; preds = %0 ret void @@ -50,3 +50,4 @@ lpad: ; preds = %0 !16 = !DISubrange(count: 1) !17 = !{i32 2, !"Dwarf Version", i32 4} !18 = !{i32 2, !"Debug Info Version", i32 3} +!19 = !DILocation(line: 0, scope: !9) |

