[llvm-commits] [llvm] r111595 - in /llvm/trunk: include/llvm/Support/FormattedStream.h include/llvm/Support/raw_ostream.h lib/Support/FormattedStream.cpp lib/Support/raw_ostream.cpp

Dan Gohman gohman at apple.com
Mon Aug 23 11:23:24 PDT 2010


On Aug 21, 2010, at 5:15 AM, Kenneth Uildriks wrote:

> Can it be configurable?  Sometimes it's helpful to see what the tool
> managed to output before it got an error.

It's pretty easy to achieve this in a debugger; just break at the
point where the stream is closed, call flush() on the stream, and
then rescue the file before letting the program continue.

Dan




More information about the llvm-commits mailing list