diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-03-28 01:34:14 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-03-28 01:34:14 +0000 |
commit | 8156a0d224a2636d5ac681f2744ce56a8956d974 (patch) | |
tree | db1bd6d057ab3106ef0fc5a3054e4ff43d965363 | |
parent | aaa80ebd10c62a903537d386b0d3738b0595491f (diff) | |
download | external_llvm-8156a0d224a2636d5ac681f2744ce56a8956d974.zip external_llvm-8156a0d224a2636d5ac681f2744ce56a8956d974.tar.gz external_llvm-8156a0d224a2636d5ac681f2744ce56a8956d974.tar.bz2 |
Regression test for the handling of nulls as arguments to debug intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27204 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll b/test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll new file mode 100644 index 0000000..e778a6f --- /dev/null +++ b/test/CodeGen/Generic/2006-03-27-DebugInfoNULLDeclare.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc + +implementation ; Functions: + +declare void %llvm.dbg.declare({ }*, { }*) + +void %foo() { + call void %llvm.dbg.declare( { }* null, { }* null ) + ret void +} |