Return the number of read bytes in MemoryObject::readBytes.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 12 Nov 2014 17:11:16 +0000 (17:11 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 12 Nov 2014 17:11:16 +0000 (17:11 +0000)
commitd0ab58245fd4aaa88541157a15b8eda8eeb62cb8
tree867ec64dfe57124bf36c82c498f54ccb1c790aec
parent86a3cdff6b80946aaaa6a3c6298ee0f5b481c385
Return the number of read bytes in MemoryObject::readBytes.

Returning more information will allow BitstreamReader to be simplified a bit
and changed to read 64 bits at a time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221794 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h
include/llvm/Support/MemoryObject.h
include/llvm/Support/StreamingMemoryObject.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Support/StreamingMemoryObject.cpp