ΒΆvoid report_fatal_error(
const char* reason,
bool gen_crash_diag = true)
void report_fatal_error(
const char* reason,
bool gen_crash_diag = true)
Description
Reports a serious error, calling any installed error handler. These functions are intended to be used for error conditions which are outside the control of the compiler (I/O errors, invalid user input, etc.) 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.
Declared at: llvm/include/llvm/Support/ErrorHandling.h:71
Parameters
- const char* reason
- bool gen_crash_diag = true