index
:
llvm
master
release_1
release_16
release_20
release_21
release_22
release_23
release_24
release_25
release_26
release_27
release_28
release_29
release_30
release_31
release_32
release_33
stable
svn-tags/RELEASE_1
svn-tags/RELEASE_20
svn-tags/RELEASE_21
svn-tags/RELEASE_22
svn-tags/RELEASE_23
svn-tags/RELEASE_24
svn-tags/RELEASE_25
svn-tags/RELEASE_26
svn-tags/RELEASE_27
svn-tags/RELEASE_28
svn-tags/RELEASE_29
svn-tags/RELEASE_30
svn-tags/RELEASE_31
svn-tags/RELEASE_32
testing
http://llvm.org
git repository hosting
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lib
/
Support
/
MemoryBuffer.cpp
Age
Commit message (
Expand
)
Author
2013-03-30
Put private class into an anonmyous namespace.
Benjamin Kramer
2013-03-14
[Support] Fix lifetime of file descriptors when using MemoryBuffer.
Michael J. Spencer
2013-03-12
[Support][MemoryBuffer] Use sys::fs::mapped_file_region instead of sys::Path:...
Michael J. Spencer
2013-03-01
In llvm::MemoryBuffer::getFile() remove an unnecessary stat call check.
Argyrios Kyrtzidis
2013-02-19
Update a portability kludge to keep it in sync with changes in the code
Dan Gohman
2013-02-19
Whitelist files and block devices instead of blacklisting fifos and
Dan Gohman
2013-02-19
Don't trust st_size of a character device. This fixes using
Dan Gohman
2012-12-31
Go ahead and get rid of the old page size interface and convert all the
Chandler Carruth
2012-12-03
Use the new script to sort the includes of every file under lib.
Chandler Carruth
2012-11-06
MemoryBuffer: Windows doesn't define S_IFIFO.
Daniel Dunbar
2012-11-05
MemoryBuffer: Support reading named pipes in getFile().
Daniel Dunbar
2012-09-23
Add LLVM_OVERRIDE to methods that override their base classes.
Craig Topper
2012-07-11
In MemoryBuffer::getOpenFile() don't verify that the mmap'ed
Argyrios Kyrtzidis
2012-06-20
Remove an "else" that snuck in after a "return" ;)
Kaelyn Uhrain
2012-06-20
Check that a file is not a directory before reading it into a MemoryBuffer.
Kaelyn Uhrain
2012-04-05
In MemoryBuffer::getOpenFile() make sure that the buffer is null-terminated if
Argyrios Kyrtzidis
2012-03-13
Add a sanity check in MemoryBuffer::getOpenFile() to make sure we don't hang
Argyrios Kyrtzidis
2012-02-09
Change default error_code ctor to a 'named ctor' so it's more self-documenting.
David Blaikie
2011-11-22
Add configure checking for pread(2) and use it to save a syscall when reading...
Benjamin Kramer
2011-11-22
Turn error recovery into an assert.
Benjamin Kramer
2011-10-20
Remove unused include of sys/uio.h in MemoryBuffer.cpp. It was not correctly ...
David Meyer
2011-09-15
use 64-bit types instead of off_t/size_t to avoid the issue when
Ivan Krasin
2011-05-22
random comment cleanups.
Chris Lattner
2011-04-28
Add MemoryBuffer::getBufferKind() to report whether a memory buffer uses mall...
Ted Kremenek
2011-03-22
We don't need a null terminator for the output file.
Rafael Espindola
2011-03-18
Check RequiresNullTerminator first, or we might read from an invalid address.
Rafael Espindola
2011-03-17
Use RequiresNullTerminator to create buffers without a null terminator
Rafael Espindola
2011-03-10
Don't compute the file size if we don't need to.
Rafael Espindola
2011-03-10
Add r127409 back now that the windows file was updated.
Rafael Espindola
2011-03-10
Revert r127409 which broke all the Windows bots.
Jakob Stoklund Olesen
2011-03-10
Add support for MemoryBuffers that are not null terminated and add
Rafael Espindola
2011-02-08
Don't open the file again in the gold plugin. To be able to do this, update
Rafael Espindola
2010-12-19
Add missing standard headers. Patch by Joerg Sonnenberger!
Nick Lewycky
2010-12-16
MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v...
Michael J. Spencer
2010-12-09
Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code...
Michael J. Spencer
2010-11-29
Merge System into Support.
Michael J. Spencer
2010-11-23
add a MemoryBuffer::getOpenFile method, which turns an open
Chris Lattner
2010-11-23
Revert functionality doug added in r98575 that was never
Chris Lattner
2010-06-25
Rewrite MemoryBuffer::getSTDIN to use read(2) and a SmallVector buffer.
Benjamin Kramer
2010-06-25
Bring back the empty vector workaround I removed in r106839. Looks like MSVC ...
Benjamin Kramer
2010-06-25
Tweak MemoryBuffer to allocate the class itself, the name and possibly the
Benjamin Kramer
2010-06-24
Add overloads for getFile and getFileOrSTDIN which take a const char *
Dan Gohman
2010-06-22
Add an explicit keyword.
Dan Gohman
2010-05-27
Add basic error checking to MemoryBuffer::getSTDIN.
Dan Gohman
2010-04-05
stringref-ize the MemoryBuffer::get apis. This requires
Chris Lattner
2010-04-01
Remove accidental include and add a comment.
Benjamin Kramer
2010-04-01
Various improvements to MemoryBuffer::getFile:
Benjamin Kramer
2010-03-15
Extend MemoryBuffer::getFile() to take an optional "stat" structure
Douglas Gregor
2010-02-26
Replace a temporary std::string with SmallString.
Benjamin Kramer
2009-12-23
sizeof(char) is always 1.
Chris Lattner
[next]