diff options
author | Edwin Török <edwintorok@gmail.com> | 2009-07-12 21:01:44 +0000 |
---|---|---|
committer | Edwin Török <edwintorok@gmail.com> | 2009-07-12 21:01:44 +0000 |
commit | 0a24bfaa2df9fb9ac87648320cdb088be781213a (patch) | |
tree | d33d4b8b064a08dde2c02ed48a2481b7703878c6 /include | |
parent | a7d9e056e4a991e73dfa3bd2da1f60c2b5f1eb55 (diff) | |
download | external_llvm-0a24bfaa2df9fb9ac87648320cdb088be781213a.zip external_llvm-0a24bfaa2df9fb9ac87648320cdb088be781213a.tar.gz external_llvm-0a24bfaa2df9fb9ac87648320cdb088be781213a.tar.bz2 |
Mention that llvm_report_error() does not return.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ErrorHandling.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/ErrorHandling.h b/include/llvm/Support/ErrorHandling.h index d9938a1..07faba7 100644 --- a/include/llvm/Support/ErrorHandling.h +++ b/include/llvm/Support/ErrorHandling.h @@ -42,6 +42,8 @@ namespace llvm { /// Reports a serious error, calling any installed error handler. /// If no error handler is installed the default is to print the message to /// standard error, followed by a newline. + /// After the error handler is called this function will call exit(1), it + /// does not return. void llvm_report_error(const std::string &reason) NORETURN; /// This function calls abort(), and prints the optional message to stderr. |