- Apr 01, 2008
-
-
Evan Cheng authored
llvm-svn: 49037
-
Chris Lattner authored
llvm-svn: 49036
-
Chris Lattner authored
llvm-svn: 49035
-
Chris Lattner authored
provides fast MappedFile::getFile for large files. llvm-svn: 49034
-
Chris Lattner authored
1) stop using MappedFile. 2) if profitable use the sys::path::MapInFilePages api to read the file. 3) otherwise fallback to read. When sys::path::MapInFilePages is implemented, this provides several benefits: #1: this avoids fragmenting memory for small files. #2: this avoids extraneous stat calls when the file size is known. #3: this only keeps the file descriptor open while reading the file, not for the duration of the lifetime of the memory buffer. This fixes a serious clang FD 'leak' problem. I believe that this will work on a win32 machine, but I don't have one to test on. I'd appreciate it if someone could check. llvm-svn: 49031
-
Chris Lattner authored
llvm-svn: 49030
-
Chris Lattner authored
MemoryBuffer is higher level and more closely matches the model needed. llvm-svn: 49029
-
Chris Lattner authored
llvm-svn: 49028
-
Chris Lattner authored
llvm-svn: 49027
-
Chris Lattner authored
llvm-svn: 49026
-
Chris Lattner authored
make getBase() return a const-correct pointer. llvm-svn: 49025
-
Chris Lattner authored
not an mmapped file. This more closely matches its requirements and provides an implicitly null terminated buffer, something this routine had to emulate itself before. llvm-svn: 49024
-
Chris Lattner authored
llvm-svn: 49023
-
Chris Lattner authored
and shared. This complicates the design, is not used, and probably doesn't even work. llvm-svn: 49022
-
Chris Lattner authored
llvm-svn: 49021
-
Chris Lattner authored
llvm-svn: 49020
-
Evan Cheng authored
llvm-svn: 49016
-
Evan Cheng authored
llvm-svn: 49014
-
Evan Cheng authored
llvm-svn: 49013
-
Evan Cheng authored
llvm-svn: 49012
-
Dale Johannesen authored
llvm-svn: 49011
-
Chris Lattner authored
llvm-svn: 49010
-
Chris Lattner authored
tons of out of date comments (really nothing throws here!) and fixes some other fairly glaring issues: "size" used to return the size of the file *and* change it, depending on how you called it. llvm-svn: 49009
-
Chris Lattner authored
llvm-svn: 49008
-
Dale Johannesen authored
not marked nounwind, or for all functions when -enable-eh is set, provided the target supports Dwarf EH. llvm-gcc generates nounwind in the right places; other FEs will need to do so also. Given such a FE, -enable-eh should no longer be needed. llvm-svn: 49006
-
Dale Johannesen authored
EH info for these functions causes the tests to fail for random reasons (e.g. looking for 'or' or counting lines with asm-printer; labels count as lines.) llvm-svn: 49003
-
Evan Cheng authored
llvm-svn: 49002
-
Nate Begeman authored
crash miscompilations. llvm-svn: 49000
-
Dan Gohman authored
not the end. llvm-svn: 48999
-
- Mar 31, 2008
-
-
Evan Cheng authored
llvm-svn: 48995
-
Dan Gohman authored
llvm-svn: 48994
-
Gordon Henriksen authored
Add a unified 'generated documentation' target so the web site script has a consistent target to use. llvm-svn: 48985
-
Torok Edwin authored
llvm-svn: 48984
-
Gordon Henriksen authored
llvm-svn: 48983
-
Erick Tryzelaar authored
llvm-svn: 48982
-
Erick Tryzelaar authored
instead of OCamlLangImpl8.html. llvm-svn: 48979
-
Erick Tryzelaar authored
and fix some tabs in chapter 3 and 4. llvm-svn: 48978
-
Evan Cheng authored
llvm-svn: 48977
-
Evan Cheng authored
The support for remat of instructions with a register operand is hackish, to say the least. Since the register operand guaranteed to be PIC base and that it is already live at all uses, we are making sure it will not be spilled after its uses are rematerialized for both performance and correctness reasons. llvm-svn: 48976
-
Erick Tryzelaar authored
realazthat in #llvm was having problems building llvm because configure was finding an ocaml executable in a directory with a space in it's name. This patch puts quotes around the name so that llvm can build for him. llvm-svn: 48974
-