mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
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
This commit is contained in:
parent
0c27224d25
commit
2ee615297c
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user