report.cc (13312:a7685ffbead8) | report.cc (13313:306a97d3b040) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 34 unchanged lines hidden (view full) --- 43{ 44 [sc_core::SC_INFO] = ReportSevInfo(sc_core::SC_DEFAULT_INFO_ACTIONS), 45 [sc_core::SC_WARNING] = ReportSevInfo(sc_core::SC_DEFAULT_WARNING_ACTIONS), 46 [sc_core::SC_ERROR] = ReportSevInfo(sc_core::SC_DEFAULT_ERROR_ACTIONS), 47 [sc_core::SC_FATAL] = ReportSevInfo(sc_core::SC_DEFAULT_FATAL_ACTIONS) 48}; 49 50std::map<std::string, ReportMsgInfo> reportMsgInfoMap; | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 34 unchanged lines hidden (view full) --- 43{ 44 [sc_core::SC_INFO] = ReportSevInfo(sc_core::SC_DEFAULT_INFO_ACTIONS), 45 [sc_core::SC_WARNING] = ReportSevInfo(sc_core::SC_DEFAULT_WARNING_ACTIONS), 46 [sc_core::SC_ERROR] = ReportSevInfo(sc_core::SC_DEFAULT_ERROR_ACTIONS), 47 [sc_core::SC_FATAL] = ReportSevInfo(sc_core::SC_DEFAULT_FATAL_ACTIONS) 48}; 49 50std::map<std::string, ReportMsgInfo> reportMsgInfoMap; |
51std::map<int, std::string> reportIdToMsgMap; |
|
51 52int reportVerbosityLevel = sc_core::SC_MEDIUM; 53 54sc_core::sc_actions reportSuppressedActions = sc_core::SC_UNSPECIFIED; 55sc_core::sc_actions reportForcedActions = sc_core::SC_UNSPECIFIED; 56sc_core::sc_actions reportCatchActions = sc_core::SC_DISPLAY; 57 58sc_core::sc_report_handler_proc reportHandlerProc = 59 &sc_core::sc_report_handler::default_handler; 60 61std::unique_ptr<sc_core::sc_report> globalReportCache; 62 | 52 53int reportVerbosityLevel = sc_core::SC_MEDIUM; 54 55sc_core::sc_actions reportSuppressedActions = sc_core::SC_UNSPECIFIED; 56sc_core::sc_actions reportForcedActions = sc_core::SC_UNSPECIFIED; 57sc_core::sc_actions reportCatchActions = sc_core::SC_DISPLAY; 58 59sc_core::sc_report_handler_proc reportHandlerProc = 60 &sc_core::sc_report_handler::default_handler; 61 62std::unique_ptr<sc_core::sc_report> globalReportCache; 63 |
64bool reportWarningsAsErrors = false; 65 |
|
63} // namespace sc_gem5 | 66} // namespace sc_gem5 |