summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar
Commit message (Collapse)AuthorAgeFilesLines
* Fix Whitespace.Michael J. Spencer2011-01-101-14/+14
| | | | llvm-svn: 123152
* Support/Path: Deprecate PathV1::exists and replace all uses with ↵Michael J. Spencer2011-01-101-2/+5
| | | | | | PathV2::fs::exists. llvm-svn: 123151
* convert llvm-ar and llvm-ranlib to raw_ostream from iostreams.Chris Lattner2010-11-291-21/+20
| | | | | | Patch by Danil Malyshev! llvm-svn: 120341
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120298
* Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."Michael J. Spencer2010-09-131-2/+1
| | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
* CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.Michael J. Spencer2010-09-101-1/+2
| | | | llvm-svn: 113632
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-241-1/+0
| | | | llvm-svn: 94378
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-221-0/+1
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* remove the last *stream> #include from a public header.Chris Lattner2009-08-241-0/+1
| | | | llvm-svn: 79892
* Prune #includes from llvm/Linker.h and llvm/System/Path.h,Chris Lattner2009-08-231-12/+11
| | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
* To simplify the upcoming context-on-type change, switch all command line ↵Owen Anderson2009-07-151-1/+1
| | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846
* Use errs() instead of std::cerr.Dan Gohman2009-07-151-8/+9
| | | | llvm-svn: 75791
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-2/+2
| | | | llvm-svn: 74640
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-011-2/+4
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* Change various llvm utilities to use PrettyStackTraceProgram inChris Lattner2009-03-061-4/+5
| | | | | | | their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
* disable exports from a bunch more tools, those without plugins.Chris Lattner2009-02-261-0/+3
| | | | llvm-svn: 65558
* fix PR3488: llvm-ar r doesn't replace existing filesChris Lattner2009-02-051-1/+1
| | | | | | Patch by Daniel Shelton! llvm-svn: 63870
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+8
| | | | llvm-svn: 56419
* Make llvm-ar behave like ar, if you create an empty archive, ar creates an ↵Andrew Lenharth2008-02-281-0/+1
| | | | | | empty archive. llvm-ar would not generate an output file in this case llvm-svn: 47733
* remove attributions from tools.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45421
* remove attributions from tools/utils makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45414
* Actually parse q operation in llvm-arSeo Sanghyeon2007-12-251-0/+1
| | | | llvm-svn: 45353
* Fix a typo in a comment.Dan Gohman2007-10-151-1/+1
| | | | llvm-svn: 43016
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* eliminate residual cruft related to recognizing bytecodeGabor Greif2007-07-061-5/+2
| | | | | | | files. bitcode files are the only LLVM format left. llvm-svn: 37945
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-7/+7
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* switch tools to bitcode instead of bytecodeChris Lattner2007-05-061-16/+5
| | | | llvm-svn: 36868
* this doesn't directly depend on bytecodeChris Lattner2007-05-061-1/+1
| | | | llvm-svn: 36854
* Don't rely on destructed local storage. Thanks, Chris.Reid Spencer2007-04-081-6/+6
| | | | llvm-svn: 35769
* For PR1291:Reid Spencer2007-04-071-3/+6
| | | | | | | Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. llvm-svn: 35743
* For PR789:Reid Spencer2007-03-291-16/+16
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
* getFileStatus has a new parameter (caught by VC++).Jeff Cohen2007-03-291-2/+2
| | | | llvm-svn: 35466
* 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
OpenPOWER on IntegriCloud