[llvm-commits] [llvm] r167755 - /llvm/trunk/lib/Support/ErrorHandling.cpp
Chad Rosier
mcrosier at apple.com
Mon Nov 12 13:32:44 PST 2012
Author: mcrosier
Date: Mon Nov 12 15:32:44 2012
New Revision: 167755
URL: http://llvm.org/viewvc/llvm-project?rev=167755&view=rev
Log:
Revert r167620; this can be implemented using an existing CL option.
Modified:
llvm/trunk/lib/Support/ErrorHandling.cpp
Modified: llvm/trunk/lib/Support/ErrorHandling.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/ErrorHandling.cpp?rev=167755&r1=167754&r2=167755&view=diff
==============================================================================
--- llvm/trunk/lib/Support/ErrorHandling.cpp (original)
+++ llvm/trunk/lib/Support/ErrorHandling.cpp Mon Nov 12 15:32:44 2012
@@ -81,7 +81,10 @@
// files registered with RemoveFileOnSignal.
sys::RunInterruptHandlers();
- exit(1);
+ // When reporting a fatal error, exit with status 70. For BSD systems this
+ // is defined as an internal software error. This notifies the driver to
+ // report diagnostics information.
+ exit(70);
}
void llvm::llvm_unreachable_internal(const char *msg, const char *file,
More information about the llvm-commits
mailing list