Turn assertion into bitcode reading error
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Mar 2015 21:03:34 +0000 (21:03 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Mar 2015 21:03:34 +0000 (21:03 +0000)
commit75cc2505da498a396038d27665ba711db9360679
tree21f25aa049c1a2dea2c53b19d603b7469b56d46f
parent3b43b23304976ae1ff7c97e8d799d271e5a8cfc6
Turn assertion into bitcode reading error

I don't think we test invalid bitcode records in any detail, so no test
here - just a change for consistency with existing error checks in
surrounding code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp