llvm::PrintFatalError

Print an error at the location of field RecVal and then exit the process.

Synopsis

Declared in <llvm/TableGen/Error.h>

[[noreturn]]
void
PrintFatalError(
    RecordVal const* RecVal,
    Twine const& Msg);

Return Value

NOTE

This function does not return.

Parameters

NameDescription
RecValRecord field whose source location is used for the error.
MsgError text to print before exiting.