aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/ProgrammersManual.rst
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2020-02-11 20:39:34 -0800
committerYuanfang Chen <yuanfang.chen@sony.com>2020-02-11 20:41:53 -0800
commit80a34ae31125aa46dcad47162ba45b152aed968d (patch)
tree1544534dcef58cf3329e95bf225f6baaa7c08fd1 /llvm/docs/ProgrammersManual.rst
parentd797e33cc083c186103e0cb9aeb016913b96fd08 (diff)
downloadllvm-80a34ae31125aa46dcad47162ba45b152aed968d.zip
llvm-80a34ae31125aa46dcad47162ba45b152aed968d.tar.gz
llvm-80a34ae31125aa46dcad47162ba45b152aed968d.tar.bz2
Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""
This reverts commit rGcd5b308b828e, rGcd5b308b828e, rG8cedf0e2994c. There are issues to be investigated for polly bots and bots turning on EXPENSIVE_CHECKS.
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
-rw-r--r--llvm/docs/ProgrammersManual.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 8f8fec6..98002f6 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 abort the
- program. The use of `report_fatal_error` in this case is discouraged.
+ which will call installed error handlers, print a message, and exit the
+ program.
Recoverable errors are modeled using LLVM's ``Error`` scheme. This scheme
represents errors using function return values, similar to classic C integer