summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Archive
Commit message (Collapse)AuthorAgeFilesLines
* 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-214-93/+93
| | | | llvm-svn: 21416
* Use the actual uid/gid for defaulting the fields in the archive.Reid Spencer2005-04-211-2/+3
| | | | llvm-svn: 21405
* Eliminate calls to system dependent function getuid by usingReid Spencer2005-04-211-2/+3
| | | | | | | the newly implemented sys::Process::GetCurrentUserId function. Replace similarly for getgid. llvm-svn: 21402
* Initialize fields mode, uid, and gid.Misha Brukman2005-04-201-0/+6
| | | | | | Patch by Markus Oberhumer. Thanks! llvm-svn: 21369
* Align comments together for consistencyMisha Brukman2005-04-201-1/+1
| | | | llvm-svn: 21368
* Implement an isBytecodeArchive method to determine if an archive containsReid Spencer2005-02-261-0/+29
| | | | | | | bytecode file members or not. Patch Contributed By Adam Treat llvm-svn: 20338
* Properly close mapped files.Jeff Cohen2005-01-282-3/+3
| | | | llvm-svn: 19863
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-2/+4
| | | | llvm-svn: 19751
* Remove potential platform portability issue with size of "int".Reid Spencer2004-12-291-1/+3
| | | | llvm-svn: 19172
* Fix problems uncovered by VC++ (first time compiled by VC++)Jeff Cohen2004-12-202-2/+1
| | | | llvm-svn: 19056
* For PR351:Reid Spencer2004-12-151-1/+0
| | | | | | | * Remove #inclusion of FileUtilities.h, not needed any more. * Convert getUniqueFilename -> sys::Pat::makeUnique() llvm-svn: 18948
* Make sure the Archive gets deleted if there's an error.Reid Spencer2004-12-131-4/+4
| | | | llvm-svn: 18869
* Implement error handling in OpenAndLoad* functions so the Linker can handle it.Reid Spencer2004-12-131-13/+22
| | | | llvm-svn: 18853
* Path::get -> Path::toStringReid Spencer2004-12-113-22/+24
| | | | llvm-svn: 18785
* Compute the firstFileOffset correctly after reading the LLVM symbol table.Reid Spencer2004-11-281-2/+3
| | | | llvm-svn: 18300
* Adjust to Compressor interface changeReid Spencer2004-11-251-2/+1
| | | | llvm-svn: 18249
* Allow reading of member names that begin with an _ character.Reid Spencer2004-11-231-1/+2
| | | | llvm-svn: 18179
* Distinguish between BSD4.4 and SVR4 symbol tablesReid Spencer2004-11-204-40/+66
| | | | llvm-svn: 18044
* Correct the computation of when to add the padding. It is not based on theReid Spencer2004-11-192-9/+9
| | | | | | | | 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 Spencer2004-11-191-4/+2
| | | | llvm-svn: 17981
* Make findModulesDefiningSymbols modify its symbols argument so we can \Reid Spencer2004-11-191-3/+14
| | | | | | eliminate symbols defined by the archive efficiently llvm-svn: 17976
* Fix some things for Mac OSX archives:Reid Spencer2004-11-171-5/+14
| | | | | | | | | | | * ensure trailing spaces are eliminated so they don't factor into the length of a member's name. * make sure all the bytes of a name are written even if the name ends in multiple null characters (bug in OSX ar) * make sure we provide the full member name when searching for symbols so the module name is not accidentally duplicated. llvm-svn: 17918
* Make sure we parse bytecode with a module identifier that reflects the fullReid Spencer2004-11-171-3/+9
| | | | | | name of the module: "Archive.a(object.o)" llvm-svn: 17917
* Adjust long file name writing to match BSD 4.4 and Mac OSX style archives.Reid Spencer2004-11-171-10/+14
| | | | llvm-svn: 17910
* Despite documentation to the contrary, Mac OSX and BSD 4.4 archive formatsReid Spencer2004-11-171-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
* Fix typeo in comment.Reid Spencer2004-11-161-1/+1
| | | | llvm-svn: 17892
* Per code review:\Reid Spencer2004-11-161-44/+46
| | | | | | | | | | | | * Make the numVbrBytes function more efficient and better documented \ * Fix a bug in name truncation \ * Add comments before functions \ * Get rid of functions that are now inlined into the header \ * Do not have Archive doing symbol table printing \ * Put assert comments into the assert so they print out \ * Make sure foreign symbol tables are written llvm-svn: 17884
* Per code review:\Reid Spencer2004-11-161-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
* Per code review:\Reid Spencer2004-11-161-1/+2
| | | | | | * Make sure all members are initialized upon construction llvm-svn: 17882
* * Make sure the string table gets read even if there isn't a foreignReid Spencer2004-11-151-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 Spencer2004-11-152-14/+68
| | | | llvm-svn: 17811
* Completely rewritten to allow reading of archives and symbol table lookup in ↵Reid Spencer2004-11-141-160/+369
| | | | | | a more efficient manner. llvm-svn: 17767
* Implementation declarations for ArchiveReid Spencer2004-11-141-108/+24
| | | | llvm-svn: 17766
* First working versionReid Spencer2004-11-142-224/+492
| | | | llvm-svn: 17765
* Moved to lib/Bytecode/Archive in preparation for re-write.Reid Spencer2004-11-141-0/+194
| | | | llvm-svn: 17742
* Makefile for the LLVMArchive library.Reid Spencer2004-11-061-0/+18
| | | | llvm-svn: 17500
* First kinda/sorta working version of the Archive library. Reading is notReid Spencer2004-11-063-0/+466
yet supported but writing works. Way too early to review this. More to come llvm-svn: 17499
OpenPOWER on IntegriCloud