summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/dbg_value.ll
blob: 4998fe7161d2c80cddf037adcbea51f1ef469e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s
; rdar://7759395

%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})
  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} ;