Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug where the bcreader could crash on .bc files that were an exact | Chris Lattner | 2007-05-11 | 1 | -0/+1 |
| | | | | | | multiple of the page size, due to a bug in MappedFile llvm-svn: 36980 | ||||
* | Use the stat information in the Path object, if it is already obtained. This | Reid Spencer | 2007-03-29 | 1 | -4/+3 |
| | | | | | | | avoids a call to ::fstat by MappedFile when the file size information was already obtained by the Path object. llvm-svn: 35477 | ||||
* | For PR797: | Reid Spencer | 2006-08-25 | 1 | -4/+6 |
| | | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. llvm-svn: 29884 | ||||
* | For PR797: | Reid Spencer | 2006-08-22 | 1 | -10/+15 |
| | | | | | | Make MappedFile not throw any exceptions. llvm-svn: 29816 | ||||
* | simple optimization: don't bother calling "exists" (which calls the syscall | Chris Lattner | 2006-07-18 | 1 | -3/+0 |
| | | | | | | | "access"). Instead, just let the open call fail if the file doesn't exist. This reduces the # syscalls executed. llvm-svn: 29173 | ||||
* | Remove a dead conditional: info_ can only be allocated if FD is good. Improve | Chris Lattner | 2006-07-18 | 1 | -5/+4 |
| | | | | | | spacing llvm-svn: 29172 | ||||
* | The only entry in the stat buf this code cares about is the size. Keep just | Chris Lattner | 2006-07-18 | 1 | -14/+14 |
| | | | | | | the size, not the whole stat buffer. llvm-svn: 29171 | ||||
* | Reduce code in the error path by only allocating info_ if everything looks | Chris Lattner | 2006-07-18 | 1 | -10/+8 |
| | | | | | | good. llvm-svn: 29170 | ||||
* | Unindent some code | Chris Lattner | 2006-07-18 | 1 | -25/+24 |
| | | | | llvm-svn: 29169 | ||||
* | Remove vim settings from source code; people should use llvm/utils/vim/vimrc | Misha Brukman | 2005-05-05 | 1 | -1/+0 |
| | | | | llvm-svn: 21704 | ||||
* | If errno is zero strerror_r does not modify the buffer, leaving it unterminated. | Chris Lattner | 2005-02-13 | 1 | -0/+1 |
| | | | | | | This causes garbage to be printed out after error messages. llvm-svn: 20165 | ||||
* | Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the silly | Reid Spencer | 2005-01-09 | 1 | -0/+154 |
gdb debugger doesn't get confused on which file it is reading (the one in lib/System or the one in lib/System/{Win32,Unix}) llvm-svn: 19426 |