summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar
Commit message (Collapse)AuthorAgeFilesLines
...
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-061-1/+2
| | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250
* For PR786:Reid Spencer2006-11-021-1/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* Use LINK_COMPONENTS to specify *components* to link against instead ofChris Lattner2006-09-041-2/+1
| | | | | | using USED_LIBS to specify *libraries* to link against. llvm-svn: 30090
* Fix a bug caused by change in the interface of Archive::writeToDisk.Reid Spencer2006-08-251-4/+4
| | | | llvm-svn: 29869
* 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
* Tools require EH for their top-level try blocks.Chris Lattner2006-07-071-0/+1
| | | | llvm-svn: 29035
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-011-2/+2
| | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. llvm-svn: 28610
* 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
* Make sure that tool names don't have any leading or trailing spaces in them.Reid Spencer2005-05-191-1/+1
| | | | | | If they do, it screws up the concatenation of the .exe suffix on cygwin. llvm-svn: 22141
* 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
* Make the check a little quieter.Reid Spencer2004-11-291-3/+5
| | | | llvm-svn: 18325
* Add LLVMbzip2 library, now required.Reid Spencer2004-11-251-1/+2
| | | | llvm-svn: 18255
* 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
* This tool needs the libLLVMArchive library now.Reid Spencer2004-11-141-1/+6
| | | | llvm-svn: 17789
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-271-1/+1
| | | | llvm-svn: 17286
* We're not doing automake any moreReid Spencer2004-10-221-650/+0
| | | | llvm-svn: 17168
* We won't use automakeReid Spencer2004-10-221-17/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+650
| | | | llvm-svn: 17136
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-1/+1
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+17
| | | | llvm-svn: 16894
* 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
* Add the LLVMsystem.a library as it is now used for operating systemReid Spencer2004-08-291-1/+1
| | | | | | independence of the tool. llvm-svn: 16092
* 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
* Added LLVM copyright to Makefiles.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9314
* 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
OpenPOWER on IntegriCloud