Chris Lattner
|
44158478bb
|
Fix the Linker testcase regressions, by making MemoryBuffer::getFileOrSTDIN return
a valid but empty buffer if stdin is empty.
llvm-svn: 44219
|
2007-11-18 18:52:28 +00:00 |
Chris Lattner
|
f5ea386698
|
Add new MemoryBuffer::getMemBufferCopy method.
llvm-svn: 42815
|
2007-10-09 21:46:38 +00:00 |
Reid Spencer
|
155533cf73
|
Make getSTDIN return null if the standard input is empty, as the header file
documentation implies and as its uses depend.
llvm-svn: 40939
|
2007-08-08 20:01:58 +00:00 |
Nick Lewycky
|
5105adfcd1
|
Fix undefined behaviour reported by the new --enable-expensive-checks option.
llvm-svn: 37829
|
2007-07-01 03:06:30 +00:00 |
Chris Lattner
|
436370bac8
|
fix a memory leak
llvm-svn: 36981
|
2007-05-11 00:43:26 +00:00 |
Jeff Cohen
|
b6e144cffe
|
Unbreak VC++ build.
llvm-svn: 36901
|
2007-05-07 15:21:46 +00:00 |
Chris Lattner
|
275757a05e
|
Enhance MemoryBuffer to return error messages in strings if they occur.
llvm-svn: 36899
|
2007-05-06 23:32:36 +00:00 |
Chris Lattner
|
5db36d3d82
|
Fix MemoryBuffer::getFile to return null if it has an error opening the
file instead of aborting.
llvm-svn: 36858
|
2007-05-06 07:24:46 +00:00 |
Jeff Cohen
|
990a58f242
|
Fix MemoryBuffer breakage correctly.
llvm-svn: 36561
|
2007-04-29 14:43:31 +00:00 |
Jeff Cohen
|
50b2d2c6e3
|
Unbreak build.
llvm-svn: 36559
|
2007-04-29 14:21:44 +00:00 |
Chris Lattner
|
ee2d1f1ed2
|
Add a new memorybuffer class, to unify all the file reading code in the system
llvm-svn: 36553
|
2007-04-29 06:58:52 +00:00 |