Adjust llvm-ar and llvm-ranlib to not depend on exception handling.
authorJoerg Sonnenberger <joerg@bec.de>
Fri, 26 Oct 2012 10:49:15 +0000 (10:49 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Fri, 26 Oct 2012 10:49:15 +0000 (10:49 +0000)
commit975bc072ae1d4502d0dc7ca0d218a18574108ee6
treecc3113016f59defebbbfc0e465207d1040d6b9a0
parent0bd10f2af37e694f08f41199f4c6792c494430d9
Adjust llvm-ar and llvm-ranlib to not depend on exception handling.
Always use an exit code of 1, but print the help message if useful.
Remove the exception handling tag in llvm-as, llvm-dis and
llvm-bcanalyzer, where it isn't used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166767 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-ar/CMakeLists.txt
tools/llvm-ar/Makefile
tools/llvm-ar/llvm-ar.cpp
tools/llvm-as/CMakeLists.txt
tools/llvm-bcanalyzer/CMakeLists.txt
tools/llvm-dis/CMakeLists.txt
tools/llvm-ranlib/CMakeLists.txt
tools/llvm-ranlib/Makefile
tools/llvm-ranlib/llvm-ranlib.cpp