summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-09-14 23:15:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-09-14 23:15:56 +0000
commit9affb245a5c601524267661afa64ccd78a4b11b2 (patch)
tree5f1fec4e41091c9477a465d0f0c598a85d952ca2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent25cc99fa44bedf9ae771d33a5bc317758d9551f8 (diff)
downloadbcm5719-llvm-9affb245a5c601524267661afa64ccd78a4b11b2.tar.gz
bcm5719-llvm-9affb245a5c601524267661afa64ccd78a4b11b2.zip
formatted_raw_ostream: Fix a serious bug in tell().
- The current_pos function is supposed to return all the written bytes, not the current position of the underlying stream. - This caused tell() to be broken whenever the underlying stream had buffered content. llvm-svn: 163948
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud