Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more C++ daintiness | Duraid Madina | 2005-12-26 | 1 | -0/+1 |
| | | | | llvm-svn: 25023 | ||||
* | speed up Archive::isBytecodeArchive in the case when the archive doesn't have | Chris Lattner | 2005-09-23 | 1 | -18/+24 |
| | | | | | | | an llvm-ranlib symtab. This speeds up gccld -native on an almost empty .o file from 1.63s to 0.18s. llvm-svn: 23406 | ||||
* | For PR495: | Reid Spencer | 2005-07-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -38/+38 |
| | | | | llvm-svn: 21416 | ||||
* | Implement an isBytecodeArchive method to determine if an archive contains | Reid Spencer | 2005-02-26 | 1 | -0/+29 |
| | | | | | | | bytecode file members or not. Patch Contributed By Adam Treat llvm-svn: 20338 | ||||
* | Remove potential platform portability issue with size of "int". | Reid Spencer | 2004-12-29 | 1 | -1/+3 |
| | | | | llvm-svn: 19172 | ||||
* | Fix problems uncovered by VC++ (first time compiled by VC++) | Jeff Cohen | 2004-12-20 | 1 | -1/+0 |
| | | | | llvm-svn: 19056 | ||||
* | Make sure the Archive gets deleted if there's an error. | Reid Spencer | 2004-12-13 | 1 | -4/+4 |
| | | | | llvm-svn: 18869 | ||||
* | Implement error handling in OpenAndLoad* functions so the Linker can handle it. | Reid Spencer | 2004-12-13 | 1 | -13/+22 |
| | | | | llvm-svn: 18853 | ||||
* | Path::get -> Path::toString | Reid Spencer | 2004-12-11 | 1 | -7/+7 |
| | | | | llvm-svn: 18785 | ||||
* | Compute the firstFileOffset correctly after reading the LLVM symbol table. | Reid Spencer | 2004-11-28 | 1 | -2/+3 |
| | | | | llvm-svn: 18300 | ||||
* | Allow reading of member names that begin with an _ character. | Reid Spencer | 2004-11-23 | 1 | -1/+2 |
| | | | | llvm-svn: 18179 | ||||
* | Distinguish between BSD4.4 and SVR4 symbol tables | Reid Spencer | 2004-11-20 | 1 | -27/+39 |
| | | | | llvm-svn: 18044 | ||||
* | Correct the computation of when to add the padding. It is not based on the | Reid Spencer | 2004-11-19 | 1 | -8/+8 |
| | | | | | | | | member's size. It is based on the oddness/evenness of the file pointer. This fixes a bug with llvm-ar not being able to read archives produced by llvm-ranlib when there are members with odd long file name lengths. llvm-svn: 17997 | ||||
* | Don't save an iterator, just use post-increment. | Reid Spencer | 2004-11-19 | 1 | -4/+2 |
| | | | | llvm-svn: 17981 | ||||
* | Make findModulesDefiningSymbols modify its symbols argument so we can \ | Reid Spencer | 2004-11-19 | 1 | -3/+14 |
| | | | | | | eliminate symbols defined by the archive efficiently llvm-svn: 17976 | ||||
* | Make sure we parse bytecode with a module identifier that reflects the full | Reid Spencer | 2004-11-17 | 1 | -3/+9 |
| | | | | | | name of the module: "Archive.a(object.o)" llvm-svn: 17917 | ||||
* | Despite documentation to the contrary, Mac OSX and BSD 4.4 archive formats | Reid Spencer | 2004-11-17 | 1 | -2/+3 |
| | | | | | | | *do* include the length of the long file in the length of the member and they are *not* null terminated. llvm-svn: 17909 | ||||
* | Per code review:\ | Reid Spencer | 2004-11-16 | 1 | -15/+20 |
| | | | | | | | * Make sure we write out the foreign symbol table if we read one \ * Make the padding calculation more efficiently and avoid Solaris warnings llvm-svn: 17883 | ||||
* | * Make sure the string table gets read even if there isn't a foreign | Reid Spencer | 2004-11-15 | 1 | -8/+20 |
| | | | | | | | | symbol table. * Make sure we update the file pointer for each member when rebuilding the symbol table. llvm-svn: 17812 | ||||
* | Changes necessary to enable linking of archives without LLVM symbol tables. | Reid Spencer | 2004-11-15 | 1 | -2/+47 |
| | | | | llvm-svn: 17811 | ||||
* | Completely rewritten to allow reading of archives and symbol table lookup in ↵ | Reid Spencer | 2004-11-14 | 1 | -160/+369 |
| | | | | | | a more efficient manner. llvm-svn: 17767 | ||||
* | Moved to lib/Bytecode/Archive in preparation for re-write. | Reid Spencer | 2004-11-14 | 1 | -0/+194 |
llvm-svn: 17742 |