summaryrefslogtreecommitdiff
path: root/test/DebugInfo/empty.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-11 23:35:03 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-11 23:35:03 +0000
commitc4d9cc0e09997c76c68a0fc1d66016974fe73ba6 (patch)
tree22a5b2fafa708ca53b4b95b413990c7d4bc2e7cc /test/DebugInfo/empty.ll
parentef953d6399f396b129417e1cdadcd6dc53b9a0ec (diff)
downloadllvm-c4d9cc0e09997c76c68a0fc1d66016974fe73ba6.tar.gz
llvm-c4d9cc0e09997c76c68a0fc1d66016974fe73ba6.tar.bz2
llvm-c4d9cc0e09997c76c68a0fc1d66016974fe73ba6.tar.xz
Test for empty pubnames/pubtypes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/empty.ll')
-rw-r--r--test/DebugInfo/empty.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/DebugInfo/empty.ll b/test/DebugInfo/empty.ll
index 81a23c6ec8..2885eb51fc 100644
--- a/test/DebugInfo/empty.ll
+++ b/test/DebugInfo/empty.ll
@@ -11,6 +11,12 @@
; CHECK: total_length: 0x00000019
; CHECK-NOT: file_names[
+; CHECK: .debug_pubnames contents:
+; CHECK-NEXT: {{^$}}
+
+; CHECK: .debug_pubtypes contents:
+; CHECK-NEXT: {{^$}}
+
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!5}