projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6e96d
)
Revert r167620; this can be implemented using an existing CL option.
author
Chad Rosier
<mcrosier@apple.com>
Mon, 12 Nov 2012 21:32:44 +0000
(21:32 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 12 Nov 2012 21:32:44 +0000
(21:32 +0000)
llvm-svn: 167755
llvm/lib/Support/ErrorHandling.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/ErrorHandling.cpp
b/llvm/lib/Support/ErrorHandling.cpp
index
e6cc57d
..
3c335a6
100644
(file)
--- a/
llvm/lib/Support/ErrorHandling.cpp
+++ b/
llvm/lib/Support/ErrorHandling.cpp
@@
-81,7
+81,10
@@
void llvm::report_fatal_error(const Twine &Reason) {
// 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,