aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/MemoryBuffer.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add configure checking for pread(2) and use it to save a syscall when reading...Benjamin Kramer2011-11-221-0/+7
* Turn error recovery into an assert.Benjamin Kramer2011-11-221-6/+1
* Remove unused include of sys/uio.h in MemoryBuffer.cpp. It was not correctly ...David Meyer2011-10-201-1/+0
* use 64-bit types instead of off_t/size_t to avoid the issue whenIvan Krasin2011-09-151-4/+4
* random comment cleanups.Chris Lattner2011-05-221-4/+4
* Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses mall...Ted Kremenek2011-04-281-0/+8
* We don't need a null terminator for the output file.Rafael Espindola2011-03-221-4/+8
* Check RequiresNullTerminator first, or we might read from an invalid address.Rafael Espindola2011-03-181-1/+1
* Use RequiresNullTerminator to create buffers without a null terminatorRafael Espindola2011-03-171-2/+4
* Don't compute the file size if we don't need to.Rafael Espindola2011-03-101-14/+29
* Add r127409 back now that the windows file was updated.Rafael Espindola2011-03-101-25/+74
* Revert r127409 which broke all the Windows bots.Jakob Stoklund Olesen2011-03-101-74/+25
* Add support for MemoryBuffers that are not null terminated and addRafael Espindola2011-03-101-25/+74
* Don't open the file again in the gold plugin. To be able to do this, updateRafael Espindola2011-02-081-12/+3
* Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky2010-12-191-0/+1
* MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v...Michael J. Spencer2010-12-161-34/+38
* Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code...Michael J. Spencer2010-12-091-18/+20
* Merge System into Support.Michael J. Spencer2010-11-291-9/+9
* add a MemoryBuffer::getOpenFile method, which turns an openChris Lattner2010-11-231-0/+7
* Revert functionality doug added in r98575 that was neverChris Lattner2010-11-231-15/+11
* Rewrite MemoryBuffer::getSTDIN to use read(2) and a SmallVector buffer.Benjamin Kramer2010-06-251-15/+15
* Bring back the empty vector workaround I removed in r106839. Looks like MSVC ...Benjamin Kramer2010-06-251-1/+2
* Tweak MemoryBuffer to allocate the class itself, the name and possibly theBenjamin Kramer2010-06-251-70/+60
* Add overloads for getFile and getFileOrSTDIN which take a const char *Dan Gohman2010-06-241-3/+17
* Add an explicit keyword.Dan Gohman2010-06-221-1/+1
* Add basic error checking to MemoryBuffer::getSTDIN.Dan Gohman2010-05-271-2/+7
* 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