| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | add some #includes. | Chris Lattner | 2008-04-01 | 1 | -2/+8 | |
| | | | | | llvm-svn: 49036 | |||||
| * | MappedFile is dead, remove it. | Chris Lattner | 2008-04-01 | 1 | -97/+0 | |
| | | | | | llvm-svn: 49035 | |||||
| * | Implement Path::MapInFilePages/UnMapFilePages on unix, which | Chris Lattner | 2008-04-01 | 2 | -7/+11 | |
| | | | | | | | provides fast MappedFile::getFile for large files. llvm-svn: 49034 | |||||
| * | Stub out some sys::Path::MapInFilePages/UnMapFilePages methods. | Chris Lattner | 2008-04-01 | 1 | -0/+10 | |
| | | | | | llvm-svn: 49030 | |||||
| * | Make MappedFile::map return a const correct pointer, don't leak address ↵ | Chris Lattner | 2008-04-01 | 1 | -1/+2 | |
| | | | | | | | space on Unix platforms. llvm-svn: 49026 | |||||
| * | Remove MappedFile support for mapping files for write and exec | Chris Lattner | 2008-04-01 | 1 | -64/+6 | |
| | | | | | | | | and shared. This complicates the design, is not used, and probably doesn't even work. llvm-svn: 49022 | |||||
| * | cleanup the MappedFile API and comments. This removes and updates | Chris Lattner | 2008-04-01 | 1 | -66/+67 | |
| | | | | | | | | | 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 | |||||
| * | Actually disable crash reporting on Mac OS X, returning bugpoint to speedy | Nate Begeman | 2008-03-31 | 1 | -23/+6 | |
| | | | | | | | crash miscompilations. llvm-svn: 49000 | |||||
| * | Revert r48676. I had plans for using it, but now it's just dead code. | Owen Anderson | 2008-03-24 | 1 | -47/+0 | |
| | | | | | llvm-svn: 48743 | |||||
| * | Add a comment, and fix a bug where AllocateRW recurred to AllocateRWX ↵ | Owen Anderson | 2008-03-22 | 1 | -1/+1 | |
| | | | | | | | instead of itself. llvm-svn: 48677 | |||||
| * | Add an AllocateRW to match AllocateRWX. | Owen Anderson | 2008-03-22 | 1 | -0/+47 | |
| | | | | | llvm-svn: 48676 | |||||
| * | Avoid calling array_endof in a static initializer, as it incurs | Dan Gohman | 2008-03-21 | 1 | -2/+2 | |
| | | | | | | | dynamic initialization. llvm-svn: 48666 | |||||
| * | Fix Path::GetMainExecutable on cygwin, patch by Sam Bishop. | Chris Lattner | 2008-03-13 | 1 | -1/+10 | |
| | | | | | llvm-svn: 48328 | |||||
| * | Stub out a Path::GetMainExecutable call to find the path to the | Chris Lattner | 2008-03-03 | 1 | -0/+18 | |
| | | | | | | | main executable of a program. This needs to be implemented on windows. llvm-svn: 47835 | |||||
| * | Add path separator support, patch by Sam Bishop. | Chris Lattner | 2008-02-27 | 1 | -19/+2 | |
| | | | | | llvm-svn: 47662 | |||||
| * | It is not safe to call fork in PrintStackTrace. Sometimes it freezes the ↵ | Lauro Ramos Venancio | 2008-02-15 | 1 | -44/+2 | |
| | | | | | | | program. llvm-svn: 47161 | |||||
| * | Set error message. | Devang Patel | 2008-02-04 | 1 | -2/+4 | |
| | | | | | | | Patch by Shantonu Sen. llvm-svn: 46715 | |||||
| * | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 10 | -20/+20 | |
| | | | | | llvm-svn: 45418 | |||||
| * | Added "GetCurrentDirectory()" to sys::Path. | Ted Kremenek | 2007-12-18 | 1 | -0/+10 | |
| | | | | | llvm-svn: 45182 | |||||
| * | Added "isDirectory" method to llvm::sys::Path. | Ted Kremenek | 2007-12-18 | 1 | -0/+8 | |
| | | | | | llvm-svn: 45168 | |||||
| * | Remove dead file and directory. | Chris Lattner | 2007-12-08 | 1 | -30/+0 | |
| | | | | | llvm-svn: 44720 | |||||
| * | Remove spurious consts. This fixes warnings with compilers that | Dan Gohman | 2007-09-14 | 1 | -2/+2 | |
| | | | | | | | are strict about such things. llvm-svn: 41956 | |||||
| * | Add lengthof and endof templates that hide a lot of sizeof computations. | Owen Anderson | 2007-09-07 | 1 | -3/+4 | |
| | | | | | | | Patch by Sterling Stein! llvm-svn: 41758 | |||||
| * | Solaris 2.x does not have RLIMIT_RSS, check for this symbol (analog NetBSD ↵ | Gabor Greif | 2007-07-06 | 1 | -1/+1 | |
| | | | | | | | below), should subsume Cygwin llvm-svn: 37939 | |||||
| * | Here is the bulk of the sanitizing. | Gabor Greif | 2007-07-05 | 1 | -1/+1 | |
| | | | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913 | |||||
| * | Fix LLVM build on NetBSD. Patch by Neil Booth. | Devang Patel | 2007-06-04 | 1 | -0/+2 | |
| | | | | | llvm-svn: 37410 | |||||
| * | 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 | |||||
| * | pull some win32 code into common code, add bitcode identification support. | Chris Lattner | 2007-05-06 | 1 | -31/+0 | |
| | | | | | llvm-svn: 36846 | |||||
| * | Cygwin doesn't have the RSS_LIMIT for get/setrlimit. | Reid Spencer | 2007-04-23 | 1 | -0/+2 | |
| | | | | | llvm-svn: 36361 | |||||
| * | For PR1291: | Reid Spencer | 2007-04-07 | 2 | -47/+54 | |
| | | | | | | | Implement the PathWithStatus class and its use throughout lib/System. llvm-svn: 35742 | |||||
| * | 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 PR789: | Reid Spencer | 2007-03-29 | 2 | -34/+39 | |
| | | | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476 | |||||
| * | Add a uniqueID field to the FileStatus structure for Paths. This will map | Reid Spencer | 2007-03-29 | 1 | -0/+1 | |
| | | | | | | | | to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. llvm-svn: 35461 | |||||
| * | For PR789: | Reid Spencer | 2007-03-29 | 1 | -12/+22 | |
| | | | | | | | | | | * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allow it to be updated forcefully or lazily re-fetched from the cached value. llvm-svn: 35456 | |||||
| * | Add possibility to set memory limit for binaries run via libSystem. This | Anton Korobeynikov | 2007-02-16 | 1 | -0/+30 | |
| | | | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349 | |||||
| * | Eliminate "control reaches end of non-void function" warnings. | Reid Spencer | 2006-12-05 | 1 | -0/+3 | |
| | | | | | llvm-svn: 32225 | |||||
| * | Use new config.h macro | Chris Lattner | 2006-09-14 | 1 | -2/+2 | |
| | | | | | llvm-svn: 30321 | |||||
| * | On Mac OS/X, make Process::PreventCoreFiles disable crash reporter for | Chris Lattner | 2006-09-14 | 1 | -7/+29 | |
| | | | | | | | | the process in addition to disabling core file emission. This speeds up bugpoint on default-configured macs by several orders of magnitude. llvm-svn: 30317 | |||||
| * | For PR797: | Reid Spencer | 2006-08-25 | 3 | -9/+16 | |
| | | | | | | | | 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-23 | 3 | -109/+63 | |
| | | | | | | | | Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846 | |||||
| * | For PR797: | Reid Spencer | 2006-08-23 | 2 | -36/+24 | |
| | | | | | | | | Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843 | |||||
| * | For PR797: | Reid Spencer | 2006-08-23 | 1 | -5/+8 | |
| | | | | | | | Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841 | |||||
| * | For PR797: | Reid Spencer | 2006-08-23 | 1 | -15/+22 | |
| | | | | | | | | Remove exceptions from the Path::create*OnDisk methods. Update their users to handle error messages via arguments and result codes. llvm-svn: 29840 | |||||
| * | For PR797: | Reid Spencer | 2006-08-22 | 1 | -9/+18 | |
| | | | | | | | Change the Path::make*OnDisk methods exception free and adjust their usage. llvm-svn: 29836 | |||||
| * | Make the sys::Path::GetTemporaryDirectory method not throw exceptions and | Reid Spencer | 2006-08-22 | 1 | -23/+30 | |
| | | | | | | | adjust users of it to compensate. llvm-svn: 29831 | |||||
| * | Don't throw needlessly. Failure of gettimeofday is *very* unlinkely so | Reid Spencer | 2006-08-22 | 1 | -2/+7 | |
| | | | | | | | just return MinTime if that should ever happen. llvm-svn: 29826 | |||||
| * | For PR797: | Reid Spencer | 2006-08-22 | 1 | -10/+15 | |
| | | | | | | | Make MappedFile not throw any exceptions. llvm-svn: 29816 | |||||
| * | For PR797: | Reid Spencer | 2006-08-22 | 1 | -8/+13 | |
| | | | | | | | | Fix a bug in my last patch that botched file redirection by using explicit scoping of if statements. llvm-svn: 29815 | |||||
| * | Make an error message a little more intelligible. | Reid Spencer | 2006-08-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 29808 | |||||
| * | For PR797: | Reid Spencer | 2006-08-21 | 2 | -23/+67 | |
| | | | | | | | | Remove all exception code from Program.inc and implement its new interface with an ErrMsg string argument. llvm-svn: 29790 | |||||

