FLANG
Public Member Functions | Static Public Member Functions | List of all members
Fortran::runtime::Terminator Class Reference
Inheritance diagram for Fortran::runtime::Terminator:
Fortran::runtime::io::IoErrorHandler Fortran::runtime::io::IoStatementBase Fortran::runtime::io::ChildIoStatementState< DIR > Fortran::runtime::io::ErroneousIoStatementState Fortran::runtime::io::ExternalIoStatementBase Fortran::runtime::io::InternalIoStatementState< DIR > Fortran::runtime::io::NoUnitIoStatementState Fortran::runtime::io::ChildFormattedIoStatementState< DIR, CHAR > Fortran::runtime::io::ChildListIoStatementState< DIR > Fortran::runtime::io::ChildUnformattedIoStatementState< DIR > Fortran::runtime::io::CloseStatementState Fortran::runtime::io::ExternalIoStatementState< DIR > Fortran::runtime::io::ExternalMiscIoStatementState Fortran::runtime::io::InquireUnitState Fortran::runtime::io::OpenStatementState Fortran::runtime::io::InternalFormattedIoStatementState< DIR, CHAR > Fortran::runtime::io::InternalListIoStatementState< DIR > Fortran::runtime::io::InquireIOLengthState Fortran::runtime::io::InquireNoUnitState Fortran::runtime::io::InquireUnconnectedFileState Fortran::runtime::io::NoopStatementState

Public Member Functions

 Terminator (const Terminator &)=default
 
RT_API_ATTRS Terminator (const char *sourceFileName, int sourceLine=0)
 
RT_API_ATTRS const char * sourceFileName () const
 
RT_API_ATTRS int sourceLine () const
 
RT_API_ATTRS void SetLocation (const char *sourceFileName=nullptr, int sourceLine=0)
 
template<typename... Args>
RT_DEVICE_NOINLINE RT_API_ATTRS const char * Crash (const char *message, Args... args) const
 
template<typename... Args>
RT_API_ATTRS void PrintCrashArgs (const char *message, Args... args) const
 
RT_API_ATTRS void CrashHeader () const
 
RT_API_ATTRS void CrashFooter () const
 
void InvokeCrashHandler (const char *message,...) const
 
void CrashArgs (const char *message, va_list &) const
 
RT_API_ATTRS void CheckFailed (const char *predicate, const char *file, int line) const
 
RT_API_ATTRS void CheckFailed (const char *predicate) const
 

Static Public Member Functions

static void RegisterCrashHandler (void(*)(const char *sourceFile, int sourceLine, const char *message, va_list &ap))
 

The documentation for this class was generated from the following files: