blob: 2ee667c3e02f9bc4f4ce91f512a9e30e20ac6cd3 [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 Smith48b35032015-04-15 21:04:10 +00007 tail call void @llvm.dbg.value(metadata %0* %0, i64 0, metadata !0, metadata !MDExpression()), !dbg !MDLocation(scope: !MDSubprogram())
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 Smithe2c61d92015-03-27 17:56:39 +000014!0 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "a", arg: 0, scope: !MDSubprogram())