aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMTargetMachine.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-16 01:32:46 +0000
committerDan Gohman <gohman@apple.com>2009-07-16 01:32:46 +0000
commitecbc438ac0dc7ca54ce1509e6d19bbfd577aaef6 (patch)
tree908cc0292cf0354e1aad9206ffb3b8a4a6f423e1 /lib/Target/ARM/ARMTargetMachine.cpp
parentc0a7f1d4fcf58acc7b01366fb9219fb55a047bdb (diff)
downloadexternal_llvm-ecbc438ac0dc7ca54ce1509e6d19bbfd577aaef6.zip
external_llvm-ecbc438ac0dc7ca54ce1509e6d19bbfd577aaef6.tar.gz
external_llvm-ecbc438ac0dc7ca54ce1509e6d19bbfd577aaef6.tar.bz2
formatted_raw_ostream both is-a raw_ostream and has-a raw_ostream. This
means that two separate raw_ostreams are doing buffering before data is sent to the underlying stream. Besides the inefficiency of redundant buffering, the second level of buffering doesn't recieve flush() requests. Fix this by having formatted_raw_ostream set the underlying raw_ostream to be unbuffered. This eliminates inefficiency due to redundant buffering, and it makes the flush() disconnect harmless. This fixes PR4559. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75883 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions