diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-21 03:56:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-21 03:56:00 +0000 |
commit | cc1c702f628d93f9d84b681059e16652ad09d595 (patch) | |
tree | 985d21821824d448ac556a057d6c8052393b9441 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 93c6c7734046ee8fad8a713872caf7ed2ae1f555 (diff) |
Don't allow formatted_ostream to be unbuffered, even if its underlying buffer
is.
- The problem is that formatted_ostream forces its underlying buffer to be
unbuffered, so if some client happens to wrap a formatted_ostream around
something, but still use the underlying stream, then we can end up writing on
a fully unbuffered output (which was never intended to be unbuffered).
- This makes clang (and presumably llvm-gcc) -emit-llvm -S a mere 10x faster.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions