From da795f82a812dd5b3897cf040e91069e89600983 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 17 Sep 2009 23:05:07 +0000 Subject: A testcase! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82176 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/md_on_instruction.ll | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/Feature/md_on_instruction.ll (limited to 'test/Feature/md_on_instruction.ll') diff --git a/test/Feature/md_on_instruction.ll b/test/Feature/md_on_instruction.ll new file mode 100644 index 0000000..3fa0b61 --- /dev/null +++ b/test/Feature/md_on_instruction.ll @@ -0,0 +1,23 @@ +; RUN: llvm-as < %s -disable-output + +define i32 @foo() nounwind ssp { +entry: + %retval = alloca i32 ; [#uses=2] + call void @llvm.dbg.func.start(metadata !0) + store i32 42, i32* %retval, dbg !3 + br label %0, dbg !3 + +;