diff options
| author | Torok Edwin <edwintorok@gmail.com> | 2009-07-11 20:13:58 +0000 |
|---|---|---|
| committer | Torok Edwin <edwintorok@gmail.com> | 2009-07-11 20:13:58 +0000 |
| commit | 4eb1ad20867746b4a1bffc23908b3de0b14a02ed (patch) | |
| tree | ca2d3274f44c2e34bbb8146ac4644beededa68a4 | |
| parent | 56d065972602c45a4109617f32eb8605e5017c5e (diff) | |
| download | bcm5719-llvm-4eb1ad20867746b4a1bffc23908b3de0b14a02ed.tar.gz bcm5719-llvm-4eb1ad20867746b4a1bffc23908b3de0b14a02ed.zip | |
Fix comment.
llvm-svn: 75380
| -rw-r--r-- | llvm/include/llvm/Support/ErrorHandling.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/ErrorHandling.h b/llvm/include/llvm/Support/ErrorHandling.h index 1a401eb7c0d..d9938a1483d 100644 --- a/llvm/include/llvm/Support/ErrorHandling.h +++ b/llvm/include/llvm/Support/ErrorHandling.h @@ -41,11 +41,12 @@ 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. void llvm_report_error(const std::string &reason) NORETURN; - /// This function calls abort(). - /// Call this after assert(0), so that compiler knows the path is not - /// reachable. + /// This function calls abort(), and prints the optional message to stderr. + /// Call this instead of assert(0), so that compiler knows the path is not + /// reachable even for NDEBUG builds. void llvm_unreachable(const char *msg=0) NORETURN; } |

