Add support to raw_ostream for sizing the buffer according to the
authorDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 17:27:29 +0000 (17:27 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 13 Aug 2009 17:27:29 +0000 (17:27 +0000)
commit208ec0f32eed8874074bddf97cd04f60a772198d
tree700e35731efccd9e0ccd841ba6a0df5da015d396
parent25a619f735fad9a2650fb8e42df0906a0fa4ba84
Add support to raw_ostream for sizing the buffer according to the
needs of the underlying output mechanism. raw_fd_ostream now uses
st_blksize from fstat to determine a buffer size.

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