summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/llvm-ar.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* For PR797:Reid Spencer2006-08-241-5/+9
| | | | | | | 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-231-59/+86
| | | | | | Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841
* For PR797:Reid Spencer2006-08-231-4/+12
| | | | | | | Remove exceptions from the Path::create*OnDisk methods. Update their users to handle error messages via arguments and result codes. llvm-svn: 29840
* Use Path::getFileStatusChris Lattner2006-08-011-7/+10
| | | | llvm-svn: 29445
* Change Path::getStatusInfo to return a boolean and error string on an errorChris Lattner2006-07-281-5/+9
| | | | | | | | 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
* Remove EH use from the Archive library and adjust its users accordingly.Reid Spencer2006-07-071-4/+12
| | | | llvm-svn: 29066
* Patches to make the LLVM sources more -pedantic clean. Patch providedChris Lattner2006-05-241-1/+1
| | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
* more compliance stufffDuraid Madina2005-12-281-0/+1
| | | | llvm-svn: 25037
* Final Changes For PR495:Reid Spencer2005-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
* For PR495:Reid Spencer2005-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | 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 whitespaceMisha Brukman2005-04-221-37/+37
| | | | llvm-svn: 21428
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-1/+3
| | | | llvm-svn: 19751
* Unbreak all archive reading operations introduced by the last patch whichReid Spencer2004-12-151-2/+3
| | | | | | | always exited the program with exit code 1 in these cases, regardless of whether an error occurred or not. llvm-svn: 18966
* Do not fail an assertion on a broken archiveChris Lattner2004-12-151-1/+6
| | | | llvm-svn: 18959
* For PR351:Reid Spencer2004-12-151-1/+0
| | | | | | Remove #inclusion of Support/FileUtilities.h which isn't needed any more. llvm-svn: 18950
* Path::get -> Path::toStringReid Spencer2004-12-111-9/+9
| | | | llvm-svn: 18785
* Implement file replacement correctly even with the f (TruncateNames) flagReid Spencer2004-12-021-2/+23
| | | | | | | set. The member name comparison was failing for truncated names. This patch fixes that. Truncated names are now properly replaced. llvm-svn: 18423
* The Archive class now has differentiation for BSD4.4 and SVR4 style archiveReid Spencer2004-11-201-6/+2
| | | | | | symbol tables. Adjust our usage to compensate. llvm-svn: 18046
* Per code review: \Reid Spencer2004-11-161-113/+105
| | | | | | | | | | | | | | | | * hide the compatibility option \ * Make static things static \ * Use cl::extrahelp instead of cl::MoreHelp (defunct) \ * Use cl::PrintHelpMessage instead of our own printUse function \ * Use a std::set<sys::Path> for the path list because its now required by \ the sys::Path class and also ensues directories are traversed in sorted \ order.\ * Implement symbol table printing locally instead of in libLLVMArchive \ * Adjust to changes in llvm::Archive interface \ * Make sure we destruct objects even if exceptions occur. \ * Fix a typo in an output string. llvm-svn: 17877
* This file was originally developed by the LLVM research group so this ↵Tanya Lattner2004-11-151-3/+2
| | | | | | comment should stay. I also do NOT want my name explicity listed on src files. I am already mentioned in the credits. llvm-svn: 17833
* Correct call of methods whose names have changed.Reid Spencer2004-11-141-4/+4
| | | | llvm-svn: 17803
* Total rewrite using Archive library & new functionalityReid Spencer2004-11-141-481/+635
| | | | llvm-svn: 17790
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | 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
* The functions in Signal.h are now in the llvm::sys namespace - adjustReid Spencer2004-08-291-1/+1
| | | | llvm-svn: 16091
* Add #include <iostream> since Value.h does not include it any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14623
* Header file movedChris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13813
* Make sure to print a stack trace whenever an error signal is delivered to theChris Lattner2004-02-191-2/+3
| | | | | | tool. llvm-svn: 11632
* Use new getFileSize function. Eliminate some using directives. Reorder ↵Chris Lattner2003-12-301-27/+20
| | | | | | #includes a bit llvm-svn: 10651
* New command line parsing. This isn't as perfect as I would have liked. The ↵Tanya Lattner2003-12-061-58/+247
| | | | | | CommandLine Library needs to be extended, in order to parse the options and allow for optional dashes. In addition, the help option isn't correct since I do the parsing mostly myself. But this is in the ocorrect ar format. llvm-svn: 10297
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-2/+4
| | | | llvm-svn: 9903
* Removed extraneous comment line.John Criswell2003-10-201-1/+0
| | | | llvm-svn: 9308
* Added copyright header to all C++ source files.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9291
* Rewrite head-of-file comment.Brian Gaeke2003-10-101-7/+4
| | | | | | Include <cstdio> instead of <stdio.h>. llvm-svn: 9033
* Fix spelling.Misha Brukman2003-10-101-2/+2
| | | | llvm-svn: 9027
* Squelch warning and delete extra space.Misha Brukman2003-09-231-4/+1
| | | | llvm-svn: 8685
* Fixed warning.Tanya Lattner2003-09-131-1/+1
| | | | llvm-svn: 8505
* First version of llvm-ar added to cvs repository.Tanya Lattner2003-08-281-0/+373
llvm-svn: 8173
OpenPOWER on IntegriCloud