summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/global.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/global.ll')
-rw-r--r--llvm/test/DebugInfo/global.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/global.ll b/llvm/test/DebugInfo/global.ll
index c515114fd50..3c97f0cb227 100644
--- a/llvm/test/DebugInfo/global.ll
+++ b/llvm/test/DebugInfo/global.ll
@@ -3,6 +3,9 @@
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
; RUN: llvm-dwarfdump %t | FileCheck %s
+; Also test that the null streamer doesn't crash with debug info.
+; RUN: %llc_dwarf -O0 -filetype=null < %s
+
; generated from the following source compiled to bitcode with clang -g -O1
; static int i;
; int main() {
OpenPOWER on IntegriCloud