#
447762da |
| 29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support.
llvm-svn: 120298
|
#
65dc8919 |
| 27-Nov-2010 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream::write_escaped: Add a UseHexEscapes argument.
llvm-svn: 120200
|
#
fe84f39a |
| 19-Oct-2010 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lib/Support/raw_ostream.cpp: Fix Cygwin's build.
setmode is provided by io.h on Cygwin.
llvm-svn: 116784
|
#
a3037c3a |
| 14-Oct-2010 |
Francois Pichet <pichet2000@gmail.com> |
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/pre
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
show more ...
|
#
0df7ea4c |
| 07-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Move tool_output_file into its own file.
llvm-svn: 115973
|
Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
a2233f28 |
| 01-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Make tool_output_file's raw_ostream instance a member variable instead of a base class.
This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates
Make tool_output_file's raw_ostream instance a member variable instead 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
show more ...
|
#
e9a46911 |
| 20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Make outs() close its file when its stream is destructed, so that pending output errors are detected.
llvm-svn: 111643
|
#
443f2d64 |
| 20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Delete raw_stdout_ostream and raw_stderr_ostream, which are unused outside of outs() and errs() themselves, and they don't really need custom classes.
llvm-svn: 111642
|
#
38adfdd1 |
| 20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Move raw_ostream's Error flag into raw_fd_ostream, as that's the only class which is using it.
llvm-svn: 111639
|
#
b87ad693 |
| 20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Introduce a new tool_output_file class, which extends raw_ostream with functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encoun
Introduce a new tool_output_file class, which extends raw_ostream with 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
show more ...
|
#
c825ceef |
| 18-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Make raw_fd_ostream consider itself the owner of STDOUT_FILENO when constructed with an output filename of "-". In particular, allow the file descriptor to be closed, and close the file descriptor in
Make raw_fd_ostream consider itself the owner of STDOUT_FILENO when 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
show more ...
|
#
44790e7a |
| 18-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Revert r111321. This doesn't fix a problem.
llvm-svn: 111339
|
#
ce3b2c3f |
| 17-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
Fix the rest of rdar://8318441 which happens when a raw_fd_ostream (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
Fix the rest of rdar://8318441 which happens when a raw_fd_ostream (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
show more ...
|
#
3db3bb00 |
| 03-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
avoid undef behavior on minint, fixing PR7783.
llvm-svn: 110114
|
#
ca97c92e |
| 07-Jul-2010 |
Chris Lattner <sabre@nondot.org> |
add some triple for minix, patch by Kees van Reeuwijk from PR7582
llvm-svn: 107785
|
#
fb85820f |
| 28-May-2010 |
Dan Gohman <gohman@apple.com> |
Minor code simplification.
llvm-svn: 104959
|
#
feaeb36e |
| 28-May-2010 |
Dan Gohman <gohman@apple.com> |
Fix a redundant-return warning.
llvm-svn: 104958
|
#
dea53104 |
| 18-May-2010 |
Dan Gohman <gohman@apple.com> |
Usage of O_NONBLOCK in bjam is now confirmed as a bug and fixed upstream. Update the comment.
llvm-svn: 104021
|
#
d351116b |
| 06-May-2010 |
Dan Gohman <gohman@apple.com> |
Handle the case where open(2) or close(2) is interrupted by a signal when automatic syscall restarting is disabled.
Also, fix the build on systems which don't define EWOULDBLOCK.
llvm-svn: 103158
|
#
ef969f35 |
| 06-May-2010 |
Dan Gohman <gohman@apple.com> |
Handle EWOULDBLOCK as EAGAIN. And add a comment explaining why EAGAIN and EWOULDBLOCK are used here.
Also, handle the case where a write call is interrupted after some data has already been written.
Handle EWOULDBLOCK as EAGAIN. And add a comment explaining why 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
show more ...
|
#
ce84a255 |
| 05-May-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Try again if write(2) reports an recoverable error.
This should fix mysteriously crashing boost regression tests when stderr is managed by bjam (PR7043).
llvm-svn: 103085
|
Revision tags: llvmorg-2.7.0 |
|
#
c86cdc7d |
| 09-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
add minix support, patch by Kees van Reeuwijk! PR6797
llvm-svn: 100895
|
#
2104b8d3 |
| 07-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
rename llvm::llvm_report_error -> llvm::report_fatal_error
llvm-svn: 100709
|
#
b452d4e9 |
| 24-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Fix minor style issues.
llvm-svn: 99414
|
#
6783832e |
| 05-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
add an assertion requested on llvmdev.
llvm-svn: 97769
|