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/docs/ProgrammersManual.rst | |
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/docs/ProgrammersManual.rst')
-rw-r--r-- | llvm/docs/ProgrammersManual.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst index 98002f6..8f8fec6 100644 --- a/llvm/docs/ProgrammersManual.rst +++ b/llvm/docs/ProgrammersManual.rst @@ -453,8 +453,8 @@ recovery. LLVM, there are places where this hasn't been practical to apply. In situations where you absolutely must emit a non-programmatic error and the ``Error`` model isn't workable you can call ``report_fatal_error``, - which will call installed error handlers, print a message, and exit the - program. + which will call installed error handlers, print a message, and abort the + program. The use of `report_fatal_error` in this case is discouraged. Recoverable errors are modeled using LLVM's ``Error`` scheme. This scheme represents errors using function return values, similar to classic C integer |