Fix PR12080 by ensuring that MaterializeModule actually reads all the bitcode
authorDerek Schuff <dschuff@google.com>
Wed, 29 Feb 2012 00:07:09 +0000 (00:07 +0000)
committerDerek Schuff <dschuff@google.com>
Wed, 29 Feb 2012 00:07:09 +0000 (00:07 +0000)
commit0ffe6984297ece417e591003674d4466a201eb2a
tree36c68253615cfe2fad121876d7c1e47155e7a662
parentd0fff1886cbace4e663761f2c26dc0a5eed2b6b1
Fix PR12080 by ensuring that MaterializeModule actually reads all the bitcode
in the streaming case.

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