summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/MemoryBuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix the Linker testcase regressions, by making MemoryBuffer::getFileOrSTDIN ↵Chris Lattner2007-11-181-0/+18
| | | | | | | | return a valid but empty buffer if stdin is empty. llvm-svn: 44219
* Add new MemoryBuffer::getMemBufferCopy method.Chris Lattner2007-10-091-2/+15
| | | | llvm-svn: 42815
* Make getSTDIN return null if the standard input is empty, as the header fileReid Spencer2007-08-081-2/+4
| | | | | | documentation implies and as its uses depend. llvm-svn: 40939
* Fix undefined behaviour reported by the new --enable-expensive-checks option.Nick Lewycky2007-07-011-1/+2
| | | | llvm-svn: 37829
* fix a memory leakChris Lattner2007-05-111-1/+1
| | | | llvm-svn: 36981
* Unbreak VC++ build.Jeff Cohen2007-05-071-0/+2
| | | | llvm-svn: 36901
* Enhance MemoryBuffer to return error messages in strings if they occur.Chris Lattner2007-05-061-7/+11
| | | | llvm-svn: 36899
* Fix MemoryBuffer::getFile to return null if it has an error opening theChris Lattner2007-05-061-8/+20
| | | | | | file instead of aborting. llvm-svn: 36858
* Fix MemoryBuffer breakage correctly.Jeff Cohen2007-04-291-1/+1
| | | | llvm-svn: 36561
* Unbreak build.Jeff Cohen2007-04-291-1/+2
| | | | llvm-svn: 36559
* Add a new memorybuffer class, to unify all the file reading code in the systemChris Lattner2007-04-291-0/+239
llvm-svn: 36553
OpenPOWER on IntegriCloud