[llvm-commits] [llvm] r75428 - /llvm/trunk/include/llvm/Support/ErrorHandling.h

Torok Edwin edwintorok at gmail.com
Sun Jul 12 14:01:44 PDT 2009


Author: edwin
Date: Sun Jul 12 16:01:44 2009
New Revision: 75428

URL: http://llvm.org/viewvc/llvm-project?rev=75428&view=rev
Log:
Mention that llvm_report_error() does not return.

Modified:
    llvm/trunk/include/llvm/Support/ErrorHandling.h

Modified: llvm/trunk/include/llvm/Support/ErrorHandling.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ErrorHandling.h?rev=75428&r1=75427&r2=75428&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/ErrorHandling.h (original)
+++ llvm/trunk/include/llvm/Support/ErrorHandling.h Sun Jul 12 16:01:44 2009
@@ -42,6 +42,8 @@
   /// 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.





More information about the llvm-commits mailing list