aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/MemoryBuffer.cpp
AgeCommit message (Expand)Author
2009-12-01return more useful error messages by using strerror to format errnoChris Lattner
2009-11-10Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a ...Daniel Dunbar
2009-11-04A value is only assigned to errno if NumRead equals -1, so doDuncan Sands
2009-11-03Make this code more robust by not thinking we are making progressDuncan Sands
2009-05-18Tweak MemoryBuffer::getSTDIN so that it returns after the first EOF. Eli Friedman
2009-02-13Switch from new[] + delete[] to malloc + free since llvm does not catch C++ e...Evan Cheng
2009-02-13If new[] fails, return 0 rather then trying to dereference a null pointer.Evan Cheng
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng
2008-04-30fcntl.h is pretty standard on unix (without the sys/)Gabor Greif
2008-04-01Fix compilation errors on MSVC. Patch by Argiris Kirtzidis!Bill Wendling
2008-04-01Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner
2008-04-01Reimplement MemoryBuffer::getFile with three enhancements:Chris Lattner
2008-04-01Remove the MappedFile::charBase member, rename base -> getBase() andChris Lattner
2008-04-01Remove MappedFile support for mapping files for write and execChris Lattner
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-11-18Fix the Linker testcase regressions, by making MemoryBuffer::getFileOrSTDIN r...Chris Lattner
2007-10-09Add new MemoryBuffer::getMemBufferCopy method.Chris Lattner
2007-08-08Make getSTDIN return null if the standard input is empty, as the header fileReid Spencer
2007-07-01Fix undefined behaviour reported by the new --enable-expensive-checks option.Nick Lewycky
2007-05-11fix a memory leakChris Lattner
2007-05-07Unbreak VC++ build.Jeff Cohen
2007-05-06Enhance MemoryBuffer to return error messages in strings if they occur.Chris Lattner
2007-05-06Fix MemoryBuffer::getFile to return null if it has an error opening theChris Lattner
2007-04-29Fix MemoryBuffer breakage correctly.Jeff Cohen
2007-04-29Unbreak build.Jeff Cohen
2007-04-29Add a new memorybuffer class, to unify all the file reading code in the systemChris Lattner