SWDEV-378006 - Adding a new guarantee macro to support printing args.
Change-Id: I9c838644e31a84d96a44b2bd10525a08d805a047
[ROCm/clr commit: b968394b4e]
This commit is contained in:
committed by
Karthik Jayaprakash
parent
e26fa3d525
commit
b4ffe0e810
@@ -49,17 +49,6 @@ extern "C" void breakpoint(void) {
|
||||
}
|
||||
//! \endcond
|
||||
|
||||
// ================================================================================================
|
||||
void report_fatal(const char* file, int line, const char* message) {
|
||||
// FIXME_lmoriche: Obfuscate the message string
|
||||
#if (defined(DEBUG))
|
||||
fprintf(outFile, "%s:%d: %s\n", file, line, message);
|
||||
#else
|
||||
fprintf(outFile, "%s\n", message);
|
||||
#endif
|
||||
::abort();
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
void report_warning(const char* message) { fprintf(outFile, "Warning: %s\n", message); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user