Fix the buffer handling logic so that write_impl is always called with
authorDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 15:44:52 +0000 (15:44 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 15:44:52 +0000 (15:44 +0000)
commit33e49ef5e5dc2d3e65bcd4fc1f20874bf3847829
tree454bfbd24e64505c541c1355a0ced1e5c09ac0c3
parentd6c0f65b532f022e584d8f1e3c044593b4c74a99
Fix the buffer handling logic so that write_impl is always called with
a full buffer, rather than often being called with a
slightly-less-than-full buffer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78907 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/raw_ostream.h
lib/Support/raw_ostream.cpp