Test for empty pubnames/pubtypes
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 11 Mar 2014 23:35:03 +0000 (23:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 11 Mar 2014 23:35:03 +0000 (23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203621 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/empty.ll

index 81a23c6ec857ff0fe9b9498261616d95e6a1f615..2885eb51fcc9b5f3ce9a610bd78810019fd15462 100644 (file)
 ; 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}