BitcodeReader: Allow METADATA_STRINGS to only have !""

Support parsing a METADATA_STRINGS record that only has a single piece
of metadata, !"".  Fixes a corner case in r264551.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith
2016-03-29 05:25:17 +00:00
parent f81b3074f7
commit 859d69a3ce
2 changed files with 8 additions and 1 deletions
@@ -0,0 +1,7 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; CHECK: !named = !{!0}
!named = !{!0}
; CHECK: !0 = !{!""}
!0 = !{!""}