- Dec 14, 2011
-
-
Michael J. Spencer authored
llvm-svn: 146522
-
- Oct 14, 2011
-
-
Eli Friedman authored
llvm-svn: 141905
-
- Aug 28, 2011
-
-
Nick Lewycky authored
non-deterministic crash in the test suite. Fixes PR10055! llvm-svn: 138717
-
- Mar 18, 2011
-
-
NAKAMURA Takumi authored
On MSVCRT and compatible, output of %e is incompatible to Posix by default. Number of exponent digits should be at least 2. "%+03d" FIXME: Implement our formatter in future! llvm-svn: 127872
-
- Mar 16, 2011
-
-
NAKAMURA Takumi authored
report_fatal_error() invokes exit(). We know report_fatal_error() might not write messages to stderr when any errors were detected on FD == 2. llvm-svn: 127726
-
- Mar 04, 2011
-
-
Benjamin Kramer authored
inefficient file system buffering if the writes are not a multiple of the desired buffer size. Avoid this by limiting the large write to a multiple of the buffer size and copying the remainder into the buffer. Thanks to Dan for pointing this out. llvm-svn: 127026
-
Benjamin Kramer authored
raw_ostream: If writing a string that is larger than the buffer, write it directly instead of doing many buffer-sized writes. This caps the number of write(2) calls per string to a maximum of 2. llvm-svn: 127010
-
- Feb 03, 2011
-
-
Daniel Dunbar authored
llvm-svn: 124771
-
- Jan 17, 2011
-
-
Michael J. Spencer authored
llvm-svn: 123643
-
- Nov 29, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120298
-
- Nov 27, 2010
-
-
Daniel Dunbar authored
llvm-svn: 120200
-
- Oct 19, 2010
-
-
NAKAMURA Takumi authored
setmode is provided by io.h on Cygwin. llvm-svn: 116784
-
- Oct 14, 2010
-
-
Francois Pichet authored
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32. llvm-svn: 116509
-
- Oct 07, 2010
-
-
Dan Gohman authored
llvm-svn: 115973
-
- Sep 01, 2010
-
-
Dan Gohman authored
of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706
-
- Aug 20, 2010
-
-
Dan Gohman authored
pending output errors are detected. llvm-svn: 111643
-
Dan Gohman authored
outside of outs() and errs() themselves, and they don't really need custom classes. llvm-svn: 111642
-
Dan Gohman authored
class which is using it. llvm-svn: 111639
-
Dan Gohman authored
functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. llvm-svn: 111595
-
- Aug 19, 2010
-
-
Dan Gohman authored
constructed with an output filename of "-". In particular, allow the file descriptor to be closed, and close the file descriptor in the destructor if it hasn't been explicitly closed already, to ensure that any write errors are detected. llvm-svn: 111436
-
- Aug 18, 2010
-
-
Dan Gohman authored
llvm-svn: 111339
-
rdar://8318441Chris Lattner authored
(e.g. errs()) fails in close() due to (e.g.) a broken pipe. As previously written, the had_error() flag would get set and then the raw_ostream dtor would report a fatal error. There is nothing the client can do about this and we have no way to report the error, so just eat it. llvm-svn: 111321
-
- Aug 03, 2010
-
-
Chris Lattner authored
llvm-svn: 110114
-
- Jul 07, 2010
-
-
Chris Lattner authored
llvm-svn: 107785
-
- May 28, 2010
-
-
Dan Gohman authored
llvm-svn: 104959
-
Dan Gohman authored
llvm-svn: 104958
-
- May 18, 2010
-
-
Dan Gohman authored
Update the comment. llvm-svn: 104021
-
- May 06, 2010
-
-
Dan Gohman authored
automatic syscall restarting is disabled. Also, fix the build on systems which don't define EWOULDBLOCK. llvm-svn: 103158
-
Dan Gohman authored
EAGAIN and EWOULDBLOCK are used here. Also, handle the case where a write call is interrupted after some data has already been written. llvm-svn: 103153
-
- May 05, 2010
-
-
Benjamin Kramer authored
This should fix mysteriously crashing boost regression tests when stderr is managed by bjam (PR7043). llvm-svn: 103085
-
- Apr 09, 2010
-
-
Chris Lattner authored
llvm-svn: 100895
-
- Apr 08, 2010
-
-
Chris Lattner authored
llvm-svn: 100709
-
- Mar 24, 2010
-
-
Dan Gohman authored
llvm-svn: 99414
-
- Mar 05, 2010
-
-
Chris Lattner authored
llvm-svn: 97769
-
- Feb 15, 2010
-
-
Chris Lattner authored
which may call write_impl on things that are not the usual buffer. llvm-svn: 96209
-
- Jan 29, 2010
-
-
Benjamin Kramer authored
llvm-svn: 94809
-
Benjamin Kramer authored
llvm-svn: 94807
-
- Jan 22, 2010
-
-
Chris Lattner authored
llvm-svn: 94222
-
Chris Lattner authored
that doesn't want to use twines. llvm-svn: 94199
-
- Dec 19, 2009
-
-
Chris Lattner authored
Make some methods const. The only interesting change here is that it changes raw_fd_ostream::preferred_buffer_size to return zero on a scary stat failure instead of setting the stream to an error state. This method really should not mutate the stream. llvm-svn: 91740
-