summaryrefslogtreecommitdiff
path: root/lib/Support/MemoryBuffer.cpp
Commit message (Expand)AuthorAge
...
* Rewrite MemoryBuffer::getSTDIN to use read(2) and a SmallVector buffer.Benjamin Kramer2010-06-25
* Bring back the empty vector workaround I removed in r106839. Looks like MSVC ...Benjamin Kramer2010-06-25
* Tweak MemoryBuffer to allocate the class itself, the name and possibly theBenjamin Kramer2010-06-25
* Add overloads for getFile and getFileOrSTDIN which take a const char *Dan Gohman2010-06-24
* Add an explicit keyword.Dan Gohman2010-06-22
* Add basic error checking to MemoryBuffer::getSTDIN.Dan Gohman2010-05-27
* stringref-ize the MemoryBuffer::get apis. This requiresChris Lattner2010-04-05
* Remove accidental include and add a comment.Benjamin Kramer2010-04-01
* Various improvements to MemoryBuffer::getFile:Benjamin Kramer2010-04-01
* Extend MemoryBuffer::getFile() to take an optional "stat" structureDouglas Gregor2010-03-15
* Replace a temporary std::string with SmallString.Benjamin Kramer2010-02-26
* sizeof(char) is always 1.Chris Lattner2009-12-23
* return more useful error messages by using strerror to format errnoChris Lattner2009-12-01
* Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a ...Daniel Dunbar2009-11-10
* A value is only assigned to errno if NumRead equals -1, so doDuncan Sands2009-11-04
* Make this code more robust by not thinking we are making progressDuncan Sands2009-11-03
* Tweak MemoryBuffer::getSTDIN so that it returns after the first EOF. Eli Friedman2009-05-18
* Switch from new[] + delete[] to malloc + free since llvm does not catch C++ e...Evan Cheng2009-02-13
* If new[] fails, return 0 rather then trying to dereference a null pointer.Evan Cheng2009-02-13
* Fix more -Wshorten-64-to-32 warnings.Evan Cheng2008-05-05
* fcntl.h is pretty standard on unix (without the sys/)Gabor Greif2008-04-30
* Fix compilation errors on MSVC. Patch by Argiris Kirtzidis!Bill Wendling2008-04-01
* Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner2008-04-01
* Reimplement MemoryBuffer::getFile with three enhancements:Chris Lattner2008-04-01
* Remove the MappedFile::charBase member, rename base -> getBase() andChris Lattner2008-04-01
* Remove MappedFile support for mapping files for write and execChris Lattner2008-04-01
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-29
* Fix the Linker testcase regressions, by making MemoryBuffer::getFileOrSTDIN r...Chris Lattner2007-11-18
* Add new MemoryBuffer::getMemBufferCopy method.Chris Lattner2007-10-09
* Make getSTDIN return null if the standard input is empty, as the header fileReid Spencer2007-08-08
* Fix undefined behaviour reported by the new --enable-expensive-checks option.Nick Lewycky2007-07-01
* fix a memory leakChris Lattner2007-05-11
* Unbreak VC++ build.Jeff Cohen2007-05-07
* Enhance MemoryBuffer to return error messages in strings if they occur.Chris Lattner2007-05-06
* Fix MemoryBuffer::getFile to return null if it has an error opening theChris Lattner2007-05-06
* Fix MemoryBuffer breakage correctly.Jeff Cohen2007-04-29
* Unbreak build.Jeff Cohen2007-04-29
* Add a new memorybuffer class, to unify all the file reading code in the systemChris Lattner2007-04-29