blob: 4038086cbb4e63fc4b3235f24464418cdc9d4728 [file] [log] [blame]
Evan Cheng40306232010-03-16 21:51:27 +00001; RUN: llc < %s
2; rdar://7759395
3
4%0 = type { i32, i32 }
5
6define void @t(%0*, i32, i32, i32, i32) nounwind {
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +00007 tail call void @llvm.dbg.value(metadata %0* %0, i64 0, metadata !0, metadata !DIExpression()), !dbg !DILocation(scope: !DISubprogram())
Evan Cheng40306232010-03-16 21:51:27 +00008 unreachable
9}
10
Adrian Prantl87b7eb92014-10-01 18:55:02 +000011declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
Evan Cheng40306232010-03-16 21:51:27 +000012
Manman Ren983a16c2013-06-28 05:43:10 +000013; !0 should conform to the format of DIVariable.
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +000014!0 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "a", arg: 0, scope: !DISubprogram())