summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FileUtilities.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* For PR351:Remove the file type checking methods (now in sys::Path)Reid Spencer2004-12-131-54/+0
| | | | llvm-svn: 18846
* Handle headers for compressed bytecode filesMisha Brukman2004-11-081-1/+1
| | | | llvm-svn: 17634
* Put in a #error in the event that we don't have an mmap that can map a fileReid Spencer2004-09-201-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 352Reid Spencer2004-09-011-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 conditionalizeChris Lattner2004-06-071-13/+29
| | | | | | system specific stuff on HAVE_MKSTEMP llvm-svn: 14051
* Include cerrno.Alkis Evlogimenos2004-06-051-1/+2
| | | | llvm-svn: 14041
* Implement the new CopyFile functionChris Lattner2004-06-021-0/+35
| | | | llvm-svn: 13945
* Add support for zero length filesChris Lattner2004-05-281-1/+10
| | | | llvm-svn: 13866
* Add a pair of functions to hide system specific details of mapping a file in ↵Chris Lattner2004-05-281-0/+34
| | | | | | for reading. llvm-svn: 13863
* Add new functionChris Lattner2003-12-311-0/+13
| | | | llvm-svn: 10664
* Add new methodChris Lattner2003-12-301-0/+10
| | | | llvm-svn: 10649
* Further revisions of the FDHandle idea. In this version we use ownershipChris Lattner2003-12-301-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 cannotChris Lattner2003-12-291-3/+3
| | | | | | be inlined. llvm-svn: 10643
* Factor FDHandle out of the bytecode reader into the FileUtilities.h supportChris Lattner2003-12-291-0/+23
| | | | | | routines. llvm-svn: 10642
* Finegrainify namespacificationChris Lattner2003-12-141-19/+16
| | | | llvm-svn: 10464
* Fix copy-pasto.Misha Brukman2003-11-241-2/+2
| | | | llvm-svn: 10197
* Add ability to query if a file is a legitimate ELF shared object.Misha Brukman2003-11-241-0/+10
| | | | llvm-svn: 10193
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+5
| | | | llvm-svn: 9903
* Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.Brian Gaeke2003-11-111-0/+29
| | | | llvm-svn: 9901
* Add implementation of FileOpenable().Brian Gaeke2003-11-111-96/+41
| | | | | | Refactor MakeFileExecutable() & MakeFileExecutable() into AddPermissionsBits(). llvm-svn: 9892
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Fixed spelling & grammar.Misha Brukman2003-09-161-1/+1
| | | | llvm-svn: 8559
* Added the MakeFileReadable() method.John Criswell2003-09-021-0/+54
| | | | llvm-svn: 8327
* Added a description of the algorithm.John Criswell2003-09-021-7/+14
| | | | | | Return failure if the chmod() fails. llvm-svn: 8326
* Added the MakeFileExecutable() method. This method takes a filename andJohn Criswell2003-09-021-0/+50
| | | | | | gives it execute access while respecting the user's umask. llvm-svn: 8324
* close() requires "unistd.h" .Misha Brukman2003-08-071-0/+1
| | | | llvm-svn: 7695
* Moved removeFile() and getUniqueFilename() into FileUtilities.Misha Brukman2003-08-071-0/+35
| | | | llvm-svn: 7691
* Check in the implementation of the FileUtilities!Chris Lattner2003-08-011-0/+56
llvm-svn: 7487
OpenPOWER on IntegriCloud