git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167849
91177308-0d34-0410-b5e6-
96231b3b80d8
// files registered with RemoveFileOnSignal.
sys::RunInterruptHandlers();
- // 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);
+ exit(1);
}
void llvm::llvm_unreachable_internal(const char *msg, const char *file,
; RUN: sh -c 'opt --reject-this-option 2>&-; echo $?; opt -o /dev/null /dev/null 2>&-; echo $?;' \
; RUN: | FileCheck %s
-; CHECK: {{^70$}}
+; CHECK: {{^1$}}
; CHECK: {{^0$}}
; XFAIL: vg_leak
; REQUIRES: shell