aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/MemoryBuffer.cpp
Commit message (Expand)AuthorAgeFilesLines
* stringref-ize the MemoryBuffer::get apis. This requiresChris Lattner2010-04-051-11/+8
* Remove accidental include and add a comment.Benjamin Kramer2010-04-011-2/+2
* Various improvements to MemoryBuffer::getFile:Benjamin Kramer2010-04-011-17/+26
* Extend MemoryBuffer::getFile() to take an optional "stat" structureDouglas Gregor2010-03-151-7/+10
* Replace a temporary std::string with SmallString.Benjamin Kramer2010-02-261-1/+2
* sizeof(char) is always 1.Chris Lattner2009-12-231-2/+2
* return more useful error messages by using strerror to format errnoChris Lattner2009-12-011-3/+3
* Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a ...Daniel Dunbar2009-11-101-16/+14
* A value is only assigned to errno if NumRead equals -1, so doDuncan Sands2009-11-041-1/+1
* Make this code more robust by not thinking we are making progressDuncan Sands2009-11-031-1/+1
* Tweak MemoryBuffer::getSTDIN so that it returns after the first EOF. Eli Friedman2009-05-181-3/+6
* Switch from new[] + delete[] to malloc + free since llvm does not catch C++ e...Evan Cheng2009-02-131-3/+3
* If new[] fails, return 0 rather then trying to dereference a null pointer.Evan Cheng2009-02-131-3/+12
* Fix more -Wshorten-64-to-32 warnings.Evan Cheng2008-05-051-3/+3
* fcntl.h is pretty standard on unix (without the sys/)Gabor Greif2008-04-301-2/+1
* Fix compilation errors on MSVC. Patch by Argiris Kirtzidis!Bill Wendling2008-04-011-1/+2
* Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner2008-04-011-13/+8
* Reimplement MemoryBuffer::getFile with three enhancements:Chris Lattner2008-04-011-85/+64
* Remove the MappedFile::charBase member, rename base -> getBase() andChris Lattner2008-04-011-3/+4
* Remove MappedFile support for mapping files for write and execChris Lattner2008-04-011-1/+1
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
* Fix the Linker testcase regressions, by making MemoryBuffer::getFileOrSTDIN r...Chris Lattner2007-11-181-0/+18
* Add new MemoryBuffer::getMemBufferCopy method.Chris Lattner2007-10-091-2/+15
* Make getSTDIN return null if the standard input is empty, as the header fileReid Spencer2007-08-081-2/+4
* It's not necessary to do rounding for alloca operations when the requestedDan Gohman2007-07-181-0/+259