[llvm-commits] [llvm] r55301 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Chris Lattner
clattner at apple.com
Mon Aug 25 21:15:11 PDT 2008
On Aug 25, 2008, at 12:47 PM, Dan Gohman wrote:
>> // Module::dump() - Allow printing from debugger
>> -void Module::dump() const { print(errs(), 0); }
>> +void Module::dump() const { print(errs(), 0); errs().flush(); }
>
> It's surprising that this is necessary. For comparison, stderr is
> unbuffered by default. Wouldn't it be better to make errs() return
> a non-buffered stream?
There's no such thing with raw_streams.
-Chris
More information about the llvm-commits
mailing list