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)
commit4a0f7becd896c066eb695f493ad7c7a230dc57b9
treebe6f63564816cf9adae9ddb5080a7e447f5abb60
parent89cf9370bffc779289de321d9b6c9960ef214470
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.

llvm-svn: 166767
llvm/tools/llvm-ar/CMakeLists.txt
llvm/tools/llvm-ar/Makefile
llvm/tools/llvm-ar/llvm-ar.cpp
llvm/tools/llvm-as/CMakeLists.txt
llvm/tools/llvm-bcanalyzer/CMakeLists.txt
llvm/tools/llvm-dis/CMakeLists.txt
llvm/tools/llvm-ranlib/CMakeLists.txt
llvm/tools/llvm-ranlib/Makefile
llvm/tools/llvm-ranlib/llvm-ranlib.cpp