aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/MemoryBuffer.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update aosp/master llvm for rebase to r233350Pirama Arumuga Nainar2015-04-091-1/+0
* Update aosp/master LLVM for rebase to r230699.Stephen Hines2015-03-231-3/+3
* Update aosp/master LLVM for rebase to r222494.Stephen Hines2014-12-021-62/+87
* Update LLVM for rebase to r212749.Stephen Hines2014-07-211-76/+58
* Update LLVM for 3.5 rebase (r209712).Stephen Hines2014-05-291-86/+34
* Update to LLVM 3.5a.Stephen Hines2014-04-241-26/+75
* Change MemoryBuffer::getFile to take a Twine.Rafael Espindola2013-10-251-8/+12
* Fix typoMatt Arsenault2013-09-101-1/+1
* MemoryBuffer.cpp: Don't peek the next page if file is multiple of *physical* ...NAKAMURA Takumi2013-09-041-0/+9
* Whitespace.NAKAMURA Takumi2013-09-041-1/+1
* MemoryBuffer.cpp: Consider if PageSize were not 4096 in shouldUseMmap(). Foll...NAKAMURA Takumi2013-08-221-1/+1
* Split getOpenFile into getOpenFile and getOpenFileSlice.Rafael Espindola2013-07-231-7/+25
* Convert two uses if fstat with sys::fs::status.Rafael Espindola2013-07-181-14/+13
* Add a wrapper for open.Rafael Espindola2013-07-161-8/+4
* Remove an extra is_directory call.Rafael Espindola2013-07-151-11/+0
* keep only the StringRef version of getFileOrSTDIN.Rafael Espindola2013-06-251-8/+0
* Remove the program class.Rafael Espindola2013-06-121-1/+1
* Remove the old file memory mapping functions.Rafael Espindola2013-06-121-2/+1
* Put private class into an anonmyous namespace.Benjamin Kramer2013-03-301-0/+2
* [Support] Fix lifetime of file descriptors when using MemoryBuffer.Michael J. Spencer2013-03-141-1/+2
* [Support][MemoryBuffer] Use sys::fs::mapped_file_region instead of sys::Path:...Michael J. Spencer2013-03-121-35/+44
* In llvm::MemoryBuffer::getFile() remove an unnecessary stat call check.Argyrios Kyrtzidis2013-03-011-0/+3
* Update a portability kludge to keep it in sync with changes in the codeDan Gohman2013-02-191-2/+7
* Whitelist files and block devices instead of blacklisting fifos andDan Gohman2013-02-191-3/+4
* Don't trust st_size of a character device. This fixes usingDan Gohman2013-02-191-3/+3
* Go ahead and get rid of the old page size interface and convert all theChandler Carruth2012-12-311-2/+2
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-3/+3
* MemoryBuffer: Windows doesn't define S_IFIFO.Daniel Dunbar2012-11-061-1/+4
* MemoryBuffer: Support reading named pipes in getFile().Daniel Dunbar2012-11-051-16/+29
* Add LLVM_OVERRIDE to methods that override their base classes.Craig Topper2012-09-231-5/+5
* In MemoryBuffer::getOpenFile() don't verify that the mmap'edArgyrios Kyrtzidis2012-07-111-10/+0
* Remove an "else" that snuck in after a "return" ;)Kaelyn Uhrain2012-06-201-1/+1
* Check that a file is not a directory before reading it into a MemoryBuffer.Kaelyn Uhrain2012-06-201-0/+9
* In MemoryBuffer::getOpenFile() make sure that the buffer is null-terminated ifArgyrios Kyrtzidis2012-04-051-0/+11
* Add a sanity check in MemoryBuffer::getOpenFile() to make sure we don't hangArgyrios Kyrtzidis2012-03-131-1/+5
* Change default error_code ctor to a 'named ctor' so it's more self-documenting.David Blaikie2012-02-091-5/+3
* 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