mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Revert 167755/167760. We don't want to emit crash diagnostics on command-line syntax errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
90c61c4a74
commit
fc298c76c7
@ -81,10 +81,7 @@ void llvm::report_fatal_error(const Twine &Reason) {
|
||||
// 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,
|
||||
|
@ -1,6 +1,6 @@
|
||||
; 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user