aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/2010-03-19-DbgDeclare.ll
blob: 1f7a889c7d704bf340c0c129c6c68886e96fe704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | opt -verify -disable-output

define void @Foo(i32 %a, i32 %b) {
entry:
  call void @llvm.dbg.declare(metadata !{i32* null}, metadata !1)
  ret void
}

!0 = metadata !{i32 662302, i32 26, metadata !1, null}
!1 = metadata !{i32 4, metadata !"foo"}

declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone