From a41a5dc3b761c175b21c3c2b18efb0edc07567de Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 6 Jul 2009 23:40:48 +0000 Subject: [PATCH] !"i" is a valid MDString. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74881 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bitcode/Reader/BitcodeReader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index 5943de2f812..a29aa956f78 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1010,7 +1010,6 @@ bool BitcodeReader::ParseConstants() { break; } case bitc::CST_CODE_MDSTRING: { - if (Record.size() < 2) return Error("Invalid MDSTRING record"); unsigned MDStringLength = Record.size(); SmallString<8> String; String.resize(MDStringLength);