Go to the documentation of this file.
40 const char *msg,
int _verbosity,
const char *_fileName,
41 int _lineNumber,
sc_time _time,
const char *_processName,
int _id) :
42 _severity(_severity), _msgType(msg_type), _msg(msg),
43 _verbosity(_verbosity), _fileName(_fileName), _lineNumber(_lineNumber),
44 _time(_time), _processName(_processName), _id(_id)
54 sc_report(
r._severity,
r._msgType,
r._msg,
r._verbosity,
r._fileName,
55 r._lineNumber,
r._time,
r._processName,
r._id)
63 _msgType =
r._msgType ? strdup(
r._msgType) :
nullptr;
65 _msg =
r._msg ? strdup(
r._msg) :
nullptr;
94 return it->second.c_str();
180 panic(
"simulation aborted");
const char SC_ID_REGISTER_ID_FAILED_[]
static void suppress_warnings(bool)
const std::string sc_report_compose_message(const sc_report &)
const char * _processName
sc_core::sc_actions actions
ReportSevInfo reportSevInfos[sc_core::SC_MAX_SEVERITY]
#define SC_REPORT_ERROR(msg_type, msg)
static bool is_suppressed(int id)
static const char * get_message(int id)
@ SC_DEFAULT_INFO_ACTIONS
sc_report(const sc_report &)
std::map< std::string, ReportMsgInfo > & reportMsgInfoMap()
static void register_id(int id, const char *msg)
bool reportWarningsAsErrors
static void suppress_infos(bool)
std::map< int, std::string > & reportIdToMsgMap()
virtual const char * what() const
static void make_warnings_errors(bool)
@ SC_DEFAULT_WARNING_ACTIONS
sc_report & operator=(const sc_report &)
static void suppress_id(int id, bool)
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17