summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Archive/ArchiveWriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceMisha Brukman2005-04-211-33/+33
| | | | llvm-svn: 21416
* 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
* Properly close mapped files.Jeff Cohen2005-01-281-2/+2
| | | | llvm-svn: 19863
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-2/+4
| | | | llvm-svn: 19751
* Fix problems uncovered by VC++ (first time compiled by VC++)Jeff Cohen2004-12-201-1/+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
* Path::get -> Path::toStringReid Spencer2004-12-111-8/+10
| | | | llvm-svn: 18785
* Adjust to Compressor interface changeReid Spencer2004-11-251-2/+1
| | | | llvm-svn: 18249
* Distinguish between BSD4.4 and SVR4 symbol tablesReid Spencer2004-11-201-6/+13
| | | | llvm-svn: 18044
* Correct the computation of when to add the padding. It is not based on theReid Spencer2004-11-191-1/+1
| | | | | | | | 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
* 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
* Adjust long file name writing to match BSD 4.4 and Mac OSX style archives.Reid Spencer2004-11-171-10/+14
| | | | llvm-svn: 17910
* 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
* Changes necessary to enable linking of archives without LLVM symbol tables.Reid Spencer2004-11-151-12/+21
| | | | llvm-svn: 17811
* First working versionReid Spencer2004-11-141-222/+364
| | | | llvm-svn: 17765
* First kinda/sorta working version of the Archive library. Reading is notReid Spencer2004-11-061-0/+284
yet supported but writing works. Way too early to review this. More to come llvm-svn: 17499
OpenPOWER on IntegriCloud