diff options
author | Yuanfang Chen <yuanfang.chen@sony.com> | 2020-02-11 23:01:35 -0800 |
---|---|---|
committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2020-02-13 10:02:53 -0800 |
commit | bb51d243308dbcc9a8c73180ae7b9e47b98e68fb (patch) | |
tree | 768549edace7de7de1f3786d27fccca5bf192fd3 /llvm/lib/Support/ErrorHandling.cpp | |
parent | 7202d1c2f6c83e989979bb76a61cbe1d0c859420 (diff) | |
download | llvm-bb51d243308dbcc9a8c73180ae7b9e47b98e68fb.zip llvm-bb51d243308dbcc9a8c73180ae7b9e47b98e68fb.tar.gz llvm-bb51d243308dbcc9a8c73180ae7b9e47b98e68fb.tar.bz2 |
Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`"""
This reverts commit 80a34ae31125aa46dcad47162ba45b152aed968d with fixes.
On bots llvm-clang-x86_64-expensive-checks-ubuntu and
llvm-clang-x86_64-expensive-checks-debian only,
llc returns 0 for these two tests unexpectedly. I tweaked the RUN line a little
bit in the hope that LIT is the culprit since this change is not in the
codepath these tests are testing.
llvm\test\CodeGen\X86\inline-asm-avx-v-constraint-32bit.ll
llvm\test\CodeGen\X86\inline-asm-avx512vl-v-constraint-32bit.ll
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
-rw-r--r-- | llvm/lib/Support/ErrorHandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ErrorHandling.cpp b/llvm/lib/Support/ErrorHandling.cpp index a946302..f70a692 100644 --- a/llvm/lib/Support/ErrorHandling.cpp +++ b/llvm/lib/Support/ErrorHandling.cpp @@ -123,7 +123,7 @@ void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag) { // files registered with RemoveFileOnSignal. sys::RunInterruptHandlers(); - sys::Process::Exit(1); + abort(); } void llvm::install_bad_alloc_error_handler(fatal_error_handler_t handler, |