Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix spelling | Misha Brukman | 2005-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 20201 | |||||
* | Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility by | Reid Spencer | 2005-02-15 | 1 | -8/+24 | |
| | | | | | | | | | | handling zero length files a little more intelligently. If both files are zero length then we return 0 (true) indicating a match. If only one of the files is zero length then we return 1 (false) indicating that the files differ. If the files don't agree in length then they can't match so we skip the first loop that looks for a quick match. llvm-svn: 20200 | |||||
* | Fix crash comparing empty file against nonempty file. | Chris Lattner | 2005-01-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 19782 | |||||
* | Make DiffFilesWithTolerance take sys::Path's instead of std::strings | Chris Lattner | 2005-01-23 | 1 | -55/+9 | |
| | | | | | | Delete dead functions. llvm-svn: 19771 | |||||
* | Fix a bug in previous checkin | Chris Lattner | 2005-01-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 19769 | |||||
* | Add a new method, refactored out of fpcmp | Chris Lattner | 2005-01-23 | 1 | -0/+184 | |
| | | | | llvm-svn: 19766 | |||||
* | Use binary mode for reading/writing bytecode files | Jeff Cohen | 2005-01-22 | 1 | -2/+3 | |
| | | | | llvm-svn: 19751 | |||||
* | For PR351: | Reid Spencer | 2004-12-22 | 1 | -14/+0 | |
| | | | | | | Move non-portable FDHandle class to its only user: lib/Debugger llvm-svn: 19106 | |||||
* | For PR351: | Reid Spencer | 2004-12-16 | 1 | -7/+0 | |
| | | | | | | | | * Remove the "removeFile" function, now implemented by the sys::Path::destroyFile method. * Make the FileRemove work with a sys::Path instead of a std::string llvm-svn: 18999 | |||||
* | For PR351: | Reid Spencer | 2004-12-15 | 1 | -88/+1 | |
| | | | | | | | Remove getUniqueFilename and CopyFile. These are now implemented by sys::Path::makeUnique and sys::CopyFile, respectively. llvm-svn: 18946 | |||||
* | For PR351: | Reid Spencer | 2004-12-13 | 1 | -39/+0 | |
| | | | | | | | | Remove the MakeFileReadable and MakeFileExecutable functions which are no longer present in LLVM. They have been replaced with the sys::Path methods makeReadable and makeExecutable, respectively. llvm-svn: 18910 | |||||
* | For PR351: | Reid Spencer | 2004-12-13 | 1 | -46/+0 | |
| | | | | | | | | The ReadFileIntoAddressSpace and UnmapFileFromAddressSpace functions are no longer used by LLVM. Remove them. Replacement functionality for both functions is now encapsulated in the sys::MappedFile class. llvm-svn: 18903 | |||||
* | For PR351: \ | Reid Spencer | 2004-12-13 | 1 | -21/+3 | |
| | | | | | | | | The getFileTimestamp and getFileSize functions have been removed from \ FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \ Path::getSize,respectively. llvm-svn: 18892 | |||||
* | For PR351:Remove the file type checking methods (now in sys::Path) | Reid Spencer | 2004-12-13 | 1 | -54/+0 | |
| | | | | llvm-svn: 18846 | |||||
* | Handle headers for compressed bytecode files | Misha Brukman | 2004-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 17634 | |||||
* | Put in a #error in the event that we don't have an mmap that can map a file | Reid Spencer | 2004-09-20 | 1 | -0/+1 | |
| | | | | | | | | into memor. This is just a reminder that the ReadFileIntoAddressSpace function needs to be properly converted to lib/System and implemented via read/write if there's no mmap of file support. llvm-svn: 16428 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -8/+8 | |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
* | Make all of this functionality work directly on win32. Properly conditionalize | Chris Lattner | 2004-06-07 | 1 | -13/+29 | |
| | | | | | | system specific stuff on HAVE_MKSTEMP llvm-svn: 14051 | |||||
* | Include cerrno. | Alkis Evlogimenos | 2004-06-05 | 1 | -1/+2 | |
| | | | | llvm-svn: 14041 | |||||
* | Implement the new CopyFile function | Chris Lattner | 2004-06-02 | 1 | -0/+35 | |
| | | | | llvm-svn: 13945 | |||||
* | Add support for zero length files | Chris Lattner | 2004-05-28 | 1 | -1/+10 | |
| | | | | llvm-svn: 13866 | |||||
* | Add a pair of functions to hide system specific details of mapping a file in ↵ | Chris Lattner | 2004-05-28 | 1 | -0/+34 | |
| | | | | | | for reading. llvm-svn: 13863 | |||||
* | Add new function | Chris Lattner | 2003-12-31 | 1 | -0/+13 | |
| | | | | llvm-svn: 10664 | |||||
* | Add new method | Chris Lattner | 2003-12-30 | 1 | -0/+10 | |
| | | | | llvm-svn: 10649 | |||||
* | Further revisions of the FDHandle idea. In this version we use ownership | Chris Lattner | 2003-12-30 | 1 | -8/+0 | |
| | | | | | | | semantics that are the same as those used by std::auto_ptr. This allows copying of FDHandle's, but copying transfers ownership. llvm-svn: 10646 | |||||
* | Add trivial exception specs to produce better code since the methods cannot | Chris Lattner | 2003-12-29 | 1 | -3/+3 | |
| | | | | | | be inlined. llvm-svn: 10643 | |||||
* | Factor FDHandle out of the bytecode reader into the FileUtilities.h support | Chris Lattner | 2003-12-29 | 1 | -0/+23 | |
| | | | | | | routines. llvm-svn: 10642 | |||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-14 | 1 | -19/+16 | |
| | | | | llvm-svn: 10464 | |||||
* | Fix copy-pasto. | Misha Brukman | 2003-11-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 10197 | |||||
* | Add ability to query if a file is a legitimate ELF shared object. | Misha Brukman | 2003-11-24 | 1 | -0/+10 | |
| | | | | llvm-svn: 10193 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+5 | |
| | | | | llvm-svn: 9903 | |||||
* | Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic. | Brian Gaeke | 2003-11-11 | 1 | -0/+29 | |
| | | | | llvm-svn: 9901 | |||||
* | Add implementation of FileOpenable(). | Brian Gaeke | 2003-11-11 | 1 | -96/+41 | |
| | | | | | | Refactor MakeFileExecutable() & MakeFileExecutable() into AddPermissionsBits(). llvm-svn: 9892 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | Fixed spelling & grammar. | Misha Brukman | 2003-09-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 8559 | |||||
* | Added the MakeFileReadable() method. | John Criswell | 2003-09-02 | 1 | -0/+54 | |
| | | | | llvm-svn: 8327 | |||||
* | Added a description of the algorithm. | John Criswell | 2003-09-02 | 1 | -7/+14 | |
| | | | | | | Return failure if the chmod() fails. llvm-svn: 8326 | |||||
* | Added the MakeFileExecutable() method. This method takes a filename and | John Criswell | 2003-09-02 | 1 | -0/+50 | |
| | | | | | | gives it execute access while respecting the user's umask. llvm-svn: 8324 | |||||
* | close() requires "unistd.h" . | Misha Brukman | 2003-08-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 7695 | |||||
* | Moved removeFile() and getUniqueFilename() into FileUtilities. | Misha Brukman | 2003-08-07 | 1 | -0/+35 | |
| | | | | llvm-svn: 7691 | |||||
* | Check in the implementation of the FileUtilities! | Chris Lattner | 2003-08-01 | 1 | -0/+56 | |
llvm-svn: 7487 |