summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Archive/Archive.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move this to lib/ArchiveChris Lattner2007-05-061-271/+0
| | | | llvm-svn: 36888
* Switch this over to bitcode instead of bytecode.Chris Lattner2007-05-061-10/+18
| | | | llvm-svn: 36866
* Avoid a useless temporary constrution.Reid Spencer2007-04-071-2/+1
| | | | llvm-svn: 35747
* Fix another PathWithStatus issue.Reid Spencer2007-04-071-1/+2
| | | | llvm-svn: 35744
* For PR1302:Reid Spencer2007-04-041-2/+2
| | | | | | Adjust useage of sys::Path::FileType for new enumerator names. llvm-svn: 35651
* For PR789:Reid Spencer2007-03-291-1/+4
| | | | | | | | 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
* For PR789:Reid Spencer2007-03-291-1/+1
| | | | | | Updates for change in interface of getFileStatus method of sys::Path class. llvm-svn: 35458
* move archive-specific stuff out of bcreader into archive library.Chris Lattner2007-02-071-1/+69
| | | | llvm-svn: 34022
* push bytecode decompressor out through APIs. Now the bytecode readerChris Lattner2007-02-071-3/+3
| | | | | | | | | | | | | | | | | | | | api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. llvm-svn: 34012
* For PR1050:Reid Spencer2006-12-151-1/+6
| | | | | | Convert asserts into error messages. llvm-svn: 32607
* For PR797:Reid Spencer2006-08-241-12/+16
| | | | | | | Remove exception handling from the bytecode archiver and adjust the llvm-ar tool to accommodate the new interfaces. llvm-svn: 29866
* For PR797:Reid Spencer2006-08-221-2/+6
| | | | | | | Adjust to new interface for MappedFile. Note that the new "throw" statements will be removed later. llvm-svn: 29818
* Change Path::getStatusInfo to return a boolean and error string on an errorChris Lattner2006-07-281-2/+4
| | | | | | | | instead of throwing an exception. This reduces the amount of code that is exposed to exceptions (e.g. FileUtilities), though it is clearly only one step along the way. llvm-svn: 29395
* Apply bug fix supplied by Greg Pettyjohn for a bug he found: '<invalid>' is ↵Jeff Cohen2006-05-061-1/+1
| | | | | | not a legal path on Windows. llvm-svn: 28153
* Fix a problem with llvm-ranlib that (on some platforms) caused the archiveReid Spencer2005-11-301-2/+22
| | | | | | | | | | file to become corrupted due to interactions between mmap'd memory segments and file descriptors closing. The problem is completely avoiding by using a third temporary file. Patch provided by Evan Jones llvm-svn: 24527
* Remove vim settings from source code; people should use llvm/utils/vim/vimrcMisha Brukman2005-05-051-1/+0
| | | | llvm-svn: 21704
* Remove trailing whitespaceMisha Brukman2005-04-211-13/+13
| | | | llvm-svn: 21416
* Use the actual uid/gid for defaulting the fields in the archive.Reid Spencer2005-04-211-2/+3
| | | | llvm-svn: 21405
* Properly close mapped files.Jeff Cohen2005-01-281-1/+1
| | | | llvm-svn: 19863
* Path::get -> Path::toStringReid Spencer2004-12-111-7/+7
| | | | llvm-svn: 18785
* Distinguish between BSD4.4 and SVR4 symbol tablesReid Spencer2004-11-201-4/+10
| | | | llvm-svn: 18044
* Per code review:\Reid Spencer2004-11-161-1/+2
| | | | | | * Make sure all members are initialized upon construction llvm-svn: 17882
* First working versionReid Spencer2004-11-141-2/+128
| | | | llvm-svn: 17765
* First kinda/sorta working version of the Archive library. Reading is notReid Spencer2004-11-061-0/+24
yet supported but writing works. Way too early to review this. More to come llvm-svn: 17499
OpenPOWER on IntegriCloud