[llvm-commits] [llvm] r50735 - /llvm/trunk/tools/llvmc2/llvmc.cpp
Mikhail Glushenkov
foldr at codedgers.com
Tue May 6 10:25:23 PDT 2008
Author: foldr
Date: Tue May 6 12:25:23 2008
New Revision: 50735
URL: http://llvm.org/viewvc/llvm-project?rev=50735&view=rev
Log:
Make llvmc return 1 when the compilation fails.
Modified:
llvm/trunk/tools/llvmc2/llvmc.cpp
Modified: llvm/trunk/tools/llvmc2/llvmc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc2/llvmc.cpp?rev=50735&r1=50734&r2=50735&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc2/llvmc.cpp (original)
+++ llvm/trunk/tools/llvmc2/llvmc.cpp Tue May 6 12:25:23 2008
@@ -83,4 +83,5 @@
catch(...) {
std::cerr << "Unknown error!\n";
}
+ return 1;
}
More information about the llvm-commits
mailing list