summaryrefslogtreecommitdiff
path: root/lib/Support/raw_ostream.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-03-27Don't try to generate crash diagnostics if we had an I/O failure. It's veryChad Rosier1-1/+1
2013-03-12Don't crash if write_impl() leaves less buffer space available than expected.Matt Beaumont-Gay1-1/+6
2013-02-12Add static cast to unsigned char whenever a character classification function...Guy Benyei1-1/+2
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-5/+5
2012-08-29Replace the BUILTIN_EXPECT macro with a less horrible LLVM_LIKELY/LLVM_UNLIKE...Benjamin Kramer1-6/+6
2012-07-20raw_ostream: Add a has_colors() method.Daniel Dunbar1-0/+4
2012-07-12Fixed few warnings.Galina Kistanova1-1/+2
2012-04-16Reapply 'Add reverseColor to raw_ostream'.Benjamin Kramer1-0/+13
2012-04-16Revert r154800 which breaks windows builders.Argyrios Kyrtzidis1-13/+0
2012-04-16Add reverseColor to raw_ostream.Argyrios Kyrtzidis1-0/+13
2011-12-13Support/Program: Make Change<stream>ToBinary return error_code.Michael J. Spencer1-0/+1
2011-10-13Avoid undefined behavior in signed integer negation. Patch by Ahmed Charles.Eli Friedman1-1/+2
2011-08-28Fix integer overflow bug in raw_ostream::write. This showed up as aNick Lewycky1-2/+2
2011-03-18raw_ostream: [PR6745] Tweak formatting (double)%e for Windows hosts.NAKAMURA Takumi1-0/+30
2011-03-16lib/Support/raw_ostream.cpp: On mingw, report_fatal_error() should not be cal...NAKAMURA Takumi1-0/+8
2011-03-04raw_ostream: while it is generally desirable to do larger writes, it can lead toBenjamin Kramer1-3/+7
2011-03-04raw_ostream: If writing a string that is larger than the buffer, write it dir...Benjamin Kramer1-9/+13
2011-02-03raw_fd_ostream: Add a SetUseAtomicWrites() method (uses writev).Daniel Dunbar1-3/+21
2011-01-17Support/raw_ostream: Fix uninitalized variable in raw_fd_ostream constructor.Michael J. Spencer1-0/+7
2010-11-29Merge System into Support.Michael J. Spencer1-2/+2
2010-11-27raw_ostream::write_escaped: Add a UseHexEscapes argument.Daniel Dunbar1-6/+15
2010-10-19lib/Support/raw_ostream.cpp: Fix Cygwin's build.NAKAMURA Takumi1-0/+4
2010-10-14Always use binary mode for output stream. This is important to prevent unwant...Francois Pichet1-0/+13
2010-10-07Move tool_output_file into its own file.Dan Gohman1-32/+0
2010-09-01Make tool_output_file's raw_ostream instance a member variable insteadDan Gohman1-14/+18
2010-08-20Make outs() close its file when its stream is destructed, so thatDan Gohman1-2/+4
2010-08-20Delete raw_stdout_ostream and raw_stderr_ostream, which are unusedDan Gohman1-12/+4
2010-08-20Move raw_ostream's Error flag into raw_fd_ostream, as that's the onlyDan Gohman1-16/+17
2010-08-20Introduce a new tool_output_file class, which extends raw_ostream withDan Gohman1-0/+28
2010-08-18Make raw_fd_ostream consider itself the owner of STDOUT_FILENO whenDan Gohman1-2/+5
2010-08-18Revert r111321. This doesn't fix a problem.Dan Gohman1-23/+19
2010-08-17Fix the rest of rdar://8318441 which happens when a raw_fd_ostreamChris Lattner1-19/+23
2010-08-03avoid undef behavior on minint, fixing PR7783.Chris Lattner1-2/+3
2010-07-07add some triple for minix, patch by Kees van Reeuwijk from PR7582Chris Lattner1-1/+1
2010-05-28Minor code simplification.Dan Gohman1-2/+1
2010-05-28Fix a redundant-return warning.Dan Gohman1-1/+2
2010-05-18Usage of O_NONBLOCK in bjam is now confirmed as a bug and fixed upstream.Dan Gohman1-4/+7
2010-05-06Handle the case where open(2) or close(2) is interrupted by a signal whenDan Gohman1-11/+24
2010-05-06Handle EWOULDBLOCK as EAGAIN. And add a comment explaining whyDan Gohman1-3/+22
2010-05-05Try again if write(2) reports an recoverable error.Benjamin Kramer1-1/+6
2010-04-09add minix support, patch by Kees van Reeuwijk! PR6797Chris Lattner1-1/+2
2010-04-07rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner1-2/+2
2010-03-24Fix minor style issues.Dan Gohman1-23/+23
2010-03-05add an assertion requested on llvmdev.Chris Lattner1-0/+1
2010-02-15enhance raw_svector_ostream::write_impl to work with unbuffered streams,Chris Lattner1-6/+12
2010-01-29Fix MSVC build.Benjamin Kramer1-0/+1
2010-01-29Use llvm::format instead of ftostr (which just calls sprintf).Benjamin Kramer1-2/+1
2010-01-22Changes to fix buffering that I forgot to commit with previous patch.Chris Lattner1-5/+8
2010-01-22add a new MCAsmStreamer::GetCommentOS method to simplify stuffChris Lattner1-0/+8
2009-12-19Make some methods const. The only interesting change here is thatChris Lattner1-14/+16