Make llvmc return 1 when the compilation fails.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2008-05-06 17:25:23 +00:00
parent 3c30e6c653
commit d81887841c

View File

@ -83,4 +83,5 @@ int main(int argc, char** argv) {
catch(...) { catch(...) {
std::cerr << "Unknown error!\n"; std::cerr << "Unknown error!\n";
} }
return 1;
} }