#
79addb8d |
| 12-Jan-2014 |
NAKAMURA Takumi <geek4civic@gmail.com> |
raw_stream formatter: [Win32] Use std::signbit() if available, instead of _fpclass().
FIXME: It should be generic to C++11. For now, it is dedicated to mingw-w64. llvm-svn: 199052
|
Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1 |
|
#
8f5d4251 |
| 03-Oct-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
raw_fd_ostream: Be more verbose about the reason when opening a file fails.
llvm-svn: 191911
|
#
212c80ac |
| 17-Jul-2013 |
NAKAMURA Takumi <geek4civic@gmail.com> |
raw_ostream.cpp: Introduce <fcntl.h> to let O_BINARY provided. Or, llvm::outs() would be set to O_TEXT by default.
llvm/test/Object/check_binary_output.ll is expected to pass on win32.
llvm-svn: 18
raw_ostream.cpp: Introduce <fcntl.h> to let O_BINARY provided. Or, llvm::outs() would be set to O_TEXT by default.
llvm/test/Object/check_binary_output.ll is expected to pass on win32.
llvm-svn: 186480
show more ...
|
#
6d35481c |
| 16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a wrapper for open.
This centralizes the handling of O_BINARY and opens the way for hiding more differences (like how open behaves with directories).
llvm-svn: 186447
|
#
e08b59f8 |
| 16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Create files with mode 666. This matches the behavior of other unix tools.
llvm-svn: 186414
|
Revision tags: llvmorg-3.3.1-rc1 |
|
#
cb2eca0f |
| 12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the program class.
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just those two functions and make Execute and Wait implementations details.
llvm-svn: 183864
|
Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1 |
|
#
7ce810cb |
| 27-Mar-2013 |
Chad Rosier <mcrosier@apple.com> |
Don't try to generate crash diagnostics if we had an I/O failure. It's very likely the crash diagnostics generation will fail as well. Part of rdar://13296693
llvm-svn: 178163
|
#
a182be8a |
| 12-Mar-2013 |
Matt Beaumont-Gay <matthewbg@google.com> |
Don't crash if write_impl() leaves less buffer space available than expected.
This was tickled by a Clang diagnostic; Clang test case to follow.
llvm-svn: 176911
|
#
83c74e9f |
| 12-Feb-2013 |
Guy Benyei <guy.benyei@intel.com> |
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.
llvm-svn: 175006
|
Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3 |
|
#
ed0881b2 |
| 03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented.
Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =]
llvm-svn: 169131
show more ...
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1 |
|
#
bd7f8d02 |
| 29-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Replace the BUILTIN_EXPECT macro with a less horrible LLVM_LIKELY/LLVM_UNLIKELY interface.
llvm-svn: 162873
|
#
04b4583c |
| 20-Jul-2012 |
Daniel Dunbar <daniel@zuster.org> |
raw_ostream: Add a has_colors() method.
llvm-svn: 160558
|
#
7da65782 |
| 12-Jul-2012 |
Galina Kistanova <gkistanova@gmail.com> |
Fixed few warnings.
llvm-svn: 160142
|
Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1 |
|
#
13d16f3b |
| 16-Apr-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Reapply 'Add reverseColor to raw_ostream'.
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell, with a minor fix for mingw by me.
llvm-svn: 154805
|
#
64104f16 |
| 16-Apr-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Revert r154800 which breaks windows builders.
llvm-svn: 154802
|
#
d17db2e0 |
| 16-Apr-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Add reverseColor to raw_ostream.
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell!
llvm-svn: 154800
|
#
a2755f8e |
| 13-Dec-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/Program: Make Change<stream>ToBinary return error_code.
llvm-svn: 146522
|
Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1 |
|
#
53ba208c |
| 13-Oct-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Avoid undefined behavior in signed integer negation. Patch by Ahmed Charles.
llvm-svn: 141905
|
#
7bfd86d0 |
| 28-Aug-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Fix integer overflow bug in raw_ostream::write. This showed up as a non-deterministic crash in the test suite. Fixes PR10055!
llvm-svn: 138717
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2 |
|
#
bac0d769 |
| 18-Mar-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
raw_ostream: [PR6745] Tweak formatting (double)%e for Windows hosts.
On MSVCRT and compatible, output of %e is incompatible to Posix by default. Number of exponent digits should be at least 2. "%+03
raw_ostream: [PR6745] Tweak formatting (double)%e for Windows hosts.
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
show more ...
|
#
76e68ea9 |
| 16-Mar-2011 |
NAKAMURA Takumi <geek4civic@gmail.com> |
lib/Support/raw_ostream.cpp: On mingw, report_fatal_error() should not be called at dtor context.
report_fatal_error() invokes exit(). We know report_fatal_error() might not write messages to stderr
lib/Support/raw_ostream.cpp: On mingw, report_fatal_error() should not be called at dtor context.
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
show more ...
|
Revision tags: llvmorg-2.9.0-rc1 |
|
#
dfb0ad30 |
| 04-Mar-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
raw_ostream: while it is generally desirable to do larger writes, it can lead to inefficient file system buffering if the writes are not a multiple of the desired buffer size. Avoid this by limiting
raw_ostream: while it is generally desirable to do larger writes, it can lead to 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
show more ...
|
#
acf08420 |
| 04-Mar-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
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.
ll
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
show more ...
|
#
4fed8870 |
| 03-Feb-2011 |
Daniel Dunbar <daniel@zuster.org> |
raw_fd_ostream: Add a SetUseAtomicWrites() method (uses writev).
llvm-svn: 124771
|
#
b7479909 |
| 17-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/raw_ostream: Fix uninitalized variable in raw_fd_ostream constructor.
llvm-svn: 123643
|