blob: ba0a678d4ee3e916a3210d401f5fcb6671911b6e [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 Smithed013cd2015-07-31 18:58:39 +000014!0 = !DILocalVariable(name: "a", arg: 1, scope: !DISubprogram())