summaryrefslogtreecommitdiff
path: root/lib/Support/MemoryBuffer.cpp
Commit message (Expand)AuthorAge
* Change MemoryBuffer::getFile to take a Twine.Rafael Espindola2013-10-25
* Fix typoMatt Arsenault2013-09-10
* MemoryBuffer.cpp: Don't peek the next page if file is multiple of *physical* ...NAKAMURA Takumi2013-09-04
* Whitespace.NAKAMURA Takumi2013-09-04
* MemoryBuffer.cpp: Consider if PageSize were not 4096 in shouldUseMmap(). Foll...NAKAMURA Takumi2013-08-22
* Split getOpenFile into getOpenFile and getOpenFileSlice.Rafael Espindola2013-07-23
* Convert two uses if fstat with sys::fs::status.Rafael Espindola2013-07-18
* Add a wrapper for open.Rafael Espindola2013-07-16
* Remove an extra is_directory call.Rafael Espindola2013-07-15
* keep only the StringRef version of getFileOrSTDIN.Rafael Espindola2013-06-25
* Remove the program class.Rafael Espindola2013-06-12
* Remove the old file memory mapping functions.Rafael Espindola2013-06-12
* Put private class into an anonmyous namespace.Benjamin Kramer2013-03-30
* [Support] Fix lifetime of file descriptors when using MemoryBuffer.Michael J. Spencer2013-03-14
* [Support][MemoryBuffer] Use sys::fs::mapped_file_region instead of sys::Path:...Michael J. Spencer2013-03-12
* In llvm::MemoryBuffer::getFile() remove an unnecessary stat call check.Argyrios Kyrtzidis2013-03-01
* Update a portability kludge to keep it in sync with changes in the codeDan Gohman2013-02-19
* Whitelist files and block devices instead of blacklisting fifos andDan Gohman2013-02-19
* Don't trust st_size of a character device. This fixes usingDan Gohman2013-02-19
* Go ahead and get rid of the old page size interface and convert all theChandler Carruth2012-12-31
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-03
* MemoryBuffer: Windows doesn't define S_IFIFO.Daniel Dunbar2012-11-06
* MemoryBuffer: Support reading named pipes in getFile().Daniel Dunbar2012-11-05
* Add LLVM_OVERRIDE to methods that override their base classes.Craig Topper2012-09-23
* In MemoryBuffer::getOpenFile() don't verify that the mmap'edArgyrios Kyrtzidis2012-07-11
* Remove an "else" that snuck in after a "return" ;)Kaelyn Uhrain2012-06-20
* Check that a file is not a directory before reading it into a MemoryBuffer.Kaelyn Uhrain2012-06-20
* In MemoryBuffer::getOpenFile() make sure that the buffer is null-terminated ifArgyrios Kyrtzidis2012-04-05
* Add a sanity check in MemoryBuffer::getOpenFile() to make sure we don't hangArgyrios Kyrtzidis2012-03-13
* Change default error_code ctor to a 'named ctor' so it's more self-documenting.David Blaikie2012-02-09
* Add configure checking for pread(2) and use it to save a syscall when reading...Benjamin Kramer2011-11-22
* Turn error recovery into an assert.Benjamin Kramer2011-11-22
* Remove unused include of sys/uio.h in MemoryBuffer.cpp. It was not correctly ...David Meyer2011-10-20
* use 64-bit types instead of off_t/size_t to avoid the issue whenIvan Krasin2011-09-15
* random comment cleanups.Chris Lattner2011-05-22
* Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses mall...Ted Kremenek2011-04-28
* We don't need a null terminator for the output file.Rafael Espindola2011-03-22
* Check RequiresNullTerminator first, or we might read from an invalid address.Rafael Espindola2011-03-18
* Use RequiresNullTerminator to create buffers without a null terminatorRafael Espindola2011-03-17
* Don't compute the file size if we don't need to.Rafael Espindola2011-03-10
* Add r127409 back now that the windows file was updated.Rafael Espindola2011-03-10
* Revert r127409 which broke all the Windows bots.Jakob Stoklund Olesen2011-03-10
* Add support for MemoryBuffers that are not null terminated and addRafael Espindola2011-03-10
* Don't open the file again in the gold plugin. To be able to do this, updateRafael Espindola2011-02-08
* Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky2010-12-19
* MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v...Michael J. Spencer2010-12-16
* Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code...Michael J. Spencer2010-12-09
* Merge System into Support.Michael J. Spencer2010-11-29
* add a MemoryBuffer::getOpenFile method, which turns an openChris Lattner2010-11-23
* Revert functionality doug added in r98575 that was neverChris Lattner2010-11-23