projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DI/Verifier: Fix argument bitrot in DILocalVariable
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
dbg_value.ll
diff --git
a/test/CodeGen/Generic/dbg_value.ll
b/test/CodeGen/Generic/dbg_value.ll
index 4998fe7161d2c80cddf037adcbea51f1ef469e10..9fe4bf3308793367b36d5f5b5e15a6366ab89d06 100644
(file)
--- a/
test/CodeGen/Generic/dbg_value.ll
+++ b/
test/CodeGen/Generic/dbg_value.ll
@@
-4,11
+4,11
@@
%0 = type { i32, i32 }
define void @t(%0*, i32, i32, i32, i32) nounwind {
%0 = type { i32, i32 }
define void @t(%0*, i32, i32, i32, i32) nounwind {
- tail call void @llvm.dbg.value(metadata
!{%0* %0}, i64 0, metadata !0, metadata !{i32 786690}
)
+ tail call void @llvm.dbg.value(metadata
%0* %0, i64 0, metadata !0, metadata !DIExpression()), !dbg !DILocation(scope: !DISubprogram()
)
unreachable
}
declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
; !0 should conform to the format of DIVariable.
unreachable
}
declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
; !0 should conform to the format of DIVariable.
-!0 =
metadata !{i32 786689, null, metadata !"a", null, i32 0, null, i32 0, i32 0} ;
+!0 =
!DILocalVariable(tag: DW_TAG_arg_variable, name: "a", arg: 1, scope: !DISubprogram())