/// 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.
/// 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.
void llvm_report_error(const std::string &reason) NORETURN;
/// This function calls abort(), and prints the optional message to stderr.