From: Duncan P. N. Exon Smith Date: Fri, 27 Mar 2015 17:29:11 +0000 (+0000) Subject: DebugInfo: Fix another bitrotted testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ee615297c12f492dd695e8dad9066ea51ba6dbc;p=oota-llvm.git DebugInfo: Fix another bitrotted testcase Fix another case of a missing `scope:` field on an `MDLocalVariable`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233388 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/LoopStrengthReduce/pr12018.ll b/test/Transforms/LoopStrengthReduce/pr12018.ll index df969eefa04..1bf2f0c4b2a 100644 --- a/test/Transforms/LoopStrengthReduce/pr12018.ll +++ b/test/Transforms/LoopStrengthReduce/pr12018.ll @@ -16,7 +16,7 @@ for.body: ; preds = %_ZN8nsTArray9Elemen %tmp = bitcast %struct.nsTArrayHeader* %add.ptr.i to %struct.nsTArray* %arrayidx = getelementptr inbounds %struct.nsTArray, %struct.nsTArray* %tmp, i32 %i.06 %add = add nsw i32 %i.06, 1 - call void @llvm.dbg.value(metadata %struct.nsTArray* %aValues, i64 0, metadata !0, metadata !{}) nounwind + call void @llvm.dbg.value(metadata %struct.nsTArray* %aValues, i64 0, metadata !0, metadata !MDExpression()) nounwind br label %_ZN8nsTArray9ElementAtEi.exit _ZN8nsTArray9ElementAtEi.exit: ; preds = %for.body @@ -35,4 +35,4 @@ declare %struct.nsTArrayHeader* @_ZN8nsTArray4Hdr2Ev() declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone -!0 = !MDLocalVariable(tag: DW_TAG_arg_variable) +!0 = !MDLocalVariable(tag: DW_TAG_arg_variable, scope: !MDSubprogram())