| Commit message (Expand) | Author | Age | Files | Lines |
* | Add configure checking for pread(2) and use it to save a syscall when reading... | Benjamin Kramer | 2011-11-22 | 1 | -0/+7 |
* | Turn error recovery into an assert. | Benjamin Kramer | 2011-11-22 | 1 | -6/+1 |
* | Remove unused include of sys/uio.h in MemoryBuffer.cpp. It was not correctly ... | David Meyer | 2011-10-20 | 1 | -1/+0 |
* | use 64-bit types instead of off_t/size_t to avoid the issue when | Ivan Krasin | 2011-09-15 | 1 | -4/+4 |
* | random comment cleanups. | Chris Lattner | 2011-05-22 | 1 | -4/+4 |
* | Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses mall... | Ted Kremenek | 2011-04-28 | 1 | -0/+8 |
* | We don't need a null terminator for the output file. | Rafael Espindola | 2011-03-22 | 1 | -4/+8 |
* | Check RequiresNullTerminator first, or we might read from an invalid address. | Rafael Espindola | 2011-03-18 | 1 | -1/+1 |
* | Use RequiresNullTerminator to create buffers without a null terminator | Rafael Espindola | 2011-03-17 | 1 | -2/+4 |
* | Don't compute the file size if we don't need to. | Rafael Espindola | 2011-03-10 | 1 | -14/+29 |
* | Add r127409 back now that the windows file was updated. | Rafael Espindola | 2011-03-10 | 1 | -25/+74 |
* | Revert r127409 which broke all the Windows bots. | Jakob Stoklund Olesen | 2011-03-10 | 1 | -74/+25 |
* | Add support for MemoryBuffers that are not null terminated and add | Rafael Espindola | 2011-03-10 | 1 | -25/+74 |
* | Don't open the file again in the gold plugin. To be able to do this, update | Rafael Espindola | 2011-02-08 | 1 | -12/+3 |
* | Add missing standard headers. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 1 | -0/+1 |
* | MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v... | Michael J. Spencer | 2010-12-16 | 1 | -34/+38 |
* | Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code... | Michael J. Spencer | 2010-12-09 | 1 | -18/+20 |
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -9/+9 |
* | add a MemoryBuffer::getOpenFile method, which turns an open | Chris Lattner | 2010-11-23 | 1 | -0/+7 |
* | Revert functionality doug added in r98575 that was never | Chris Lattner | 2010-11-23 | 1 | -15/+11 |
* | Rewrite MemoryBuffer::getSTDIN to use read(2) and a SmallVector buffer. | Benjamin Kramer | 2010-06-25 | 1 | -15/+15 |
* | Bring back the empty vector workaround I removed in r106839. Looks like MSVC ... | Benjamin Kramer | 2010-06-25 | 1 | -1/+2 |
* | Tweak MemoryBuffer to allocate the class itself, the name and possibly the | Benjamin Kramer | 2010-06-25 | 1 | -70/+60 |
* | Add overloads for getFile and getFileOrSTDIN which take a const char * | Dan Gohman | 2010-06-24 | 1 | -3/+17 |
* | Add an explicit keyword. | Dan Gohman | 2010-06-22 | 1 | -1/+1 |
* | Add basic error checking to MemoryBuffer::getSTDIN. | Dan Gohman | 2010-05-27 | 1 | -2/+7 |
* | stringref-ize the MemoryBuffer::get apis. This requires | Chris Lattner | 2010-04-05 | 1 | -11/+8 |
* | Remove accidental include and add a comment. | Benjamin Kramer | 2010-04-01 | 1 | -2/+2 |
* | Various improvements to MemoryBuffer::getFile: | Benjamin Kramer | 2010-04-01 | 1 | -17/+26 |
* | Extend MemoryBuffer::getFile() to take an optional "stat" structure | Douglas Gregor | 2010-03-15 | 1 | -7/+10 |
* | Replace a temporary std::string with SmallString. | Benjamin Kramer | 2010-02-26 | 1 | -1/+2 |
* | sizeof(char) is always 1. | Chris Lattner | 2009-12-23 | 1 | -2/+2 |
* | return more useful error messages by using strerror to format errno | Chris Lattner | 2009-12-01 | 1 | -3/+3 |
* | Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a ... | Daniel Dunbar | 2009-11-10 | 1 | -16/+14 |
* | A value is only assigned to errno if NumRead equals -1, so do | Duncan Sands | 2009-11-04 | 1 | -1/+1 |
* | Make this code more robust by not thinking we are making progress | Duncan Sands | 2009-11-03 | 1 | -1/+1 |
* | Tweak MemoryBuffer::getSTDIN so that it returns after the first EOF. | Eli Friedman | 2009-05-18 | 1 | -3/+6 |
* | Switch from new[] + delete[] to malloc + free since llvm does not catch C++ e... | Evan Cheng | 2009-02-13 | 1 | -3/+3 |
* | If new[] fails, return 0 rather then trying to dereference a null pointer. | Evan Cheng | 2009-02-13 | 1 | -3/+12 |
* | Fix more -Wshorten-64-to-32 warnings. | Evan Cheng | 2008-05-05 | 1 | -3/+3 |
* | fcntl.h is pretty standard on unix (without the sys/) | Gabor Greif | 2008-04-30 | 1 | -2/+1 |
* | Fix compilation errors on MSVC. Patch by Argiris Kirtzidis! | Bill Wendling | 2008-04-01 | 1 | -1/+2 |
* | Change the MemoryBuffer::getFile* methods to take just a pointer to the | Chris Lattner | 2008-04-01 | 1 | -13/+8 |
* | Reimplement MemoryBuffer::getFile with three enhancements: | Chris Lattner | 2008-04-01 | 1 | -85/+64 |
* | Remove the MappedFile::charBase member, rename base -> getBase() and | Chris Lattner | 2008-04-01 | 1 | -3/+4 |
* | Remove MappedFile support for mapping files for write and exec | Chris Lattner | 2008-04-01 | 1 | -1/+1 |
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
* | Fix the Linker testcase regressions, by making MemoryBuffer::getFileOrSTDIN r... | Chris Lattner | 2007-11-18 | 1 | -0/+18 |
* | Add new MemoryBuffer::getMemBufferCopy method. | Chris Lattner | 2007-10-09 | 1 | -2/+15 |
* | Make getSTDIN return null if the standard input is empty, as the header file | Reid Spencer | 2007-08-08 | 1 | -2/+4 |