[llvm-commits] [llvm] r167755 - /llvm/trunk/lib/Support/ErrorHandling.cpp

Chad Rosier mcrosier at apple.com
Mon Nov 12 13:38:02 PST 2012


Please disregard this commit message. The correct commit message is:

If we encounter 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.
rdar://11951540


On Nov 12, 2012, at 1:32 PM, Chad Rosier <mcrosier at apple.com> wrote:

> 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,
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121112/544eff5a/attachment.html>


More information about the llvm-commits mailing list