summaryrefslogtreecommitdiff
path: root/test/DebugInfo/Generic/bug_null_debuginfo.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/DebugInfo/Generic/bug_null_debuginfo.ll')
-rw-r--r--test/DebugInfo/Generic/bug_null_debuginfo.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/DebugInfo/Generic/bug_null_debuginfo.ll b/test/DebugInfo/Generic/bug_null_debuginfo.ll
new file mode 100644
index 000000000000..09e36db42b49
--- /dev/null
+++ b/test/DebugInfo/Generic/bug_null_debuginfo.ll
@@ -0,0 +1,8 @@
+; RUN: llc < %s
+
+!llvm.dbg.cu = !{!0}
+!llvm.module.flags = !{!2}
+
+!0 = distinct !DICompileUnit(language: DW_LANG_C99, isOptimized: false, emissionKind: 0, file: !1, globals: null)
+!1 = !DIFile(filename: "t", directory: "")
+!2 = !{i32 1, !"Debug Info Version", i32 3}