aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/bug_null_debuginfo.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-16 00:21:54 +0000
committerEric Christopher <echristo@apple.com>2012-03-16 00:21:54 +0000
commit75df9f23fa7e3c4e02753fb0405d69cd0d68e0ef (patch)
tree9b4243b6e2def9cc8204bc7d129a756edbcfc116 /test/DebugInfo/bug_null_debuginfo.ll
parentb99ea7cb3fe8af46bdc2ad68550632f5c16bdaa9 (diff)
downloadexternal_llvm-75df9f23fa7e3c4e02753fb0405d69cd0d68e0ef.zip
external_llvm-75df9f23fa7e3c4e02753fb0405d69cd0d68e0ef.tar.gz
external_llvm-75df9f23fa7e3c4e02753fb0405d69cd0d68e0ef.tar.bz2
Do the right thing on NULL uint64 fields.
Patch by Clemens Hammacher! Fixes PR12243 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/bug_null_debuginfo.ll')
-rw-r--r--test/DebugInfo/bug_null_debuginfo.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/DebugInfo/bug_null_debuginfo.ll b/test/DebugInfo/bug_null_debuginfo.ll
new file mode 100644
index 0000000..a7fdf70
--- /dev/null
+++ b/test/DebugInfo/bug_null_debuginfo.ll
@@ -0,0 +1,6 @@
+; RUN: llc
+
+
+!llvm.dbg.cu = !{!0}
+
+!0 = metadata !{null, null, null}