SWDEV-378006 - Adding a new guarantee macro to support printing args.

Change-Id: I9c838644e31a84d96a44b2bd10525a08d805a047


[ROCm/clr commit: b968394b4e]
Cette révision appartient à :
kjayapra-amd a créé et Karthik Jayaprakash a révisé 2023-01-21 06:26:50 -05:00
1 Parent e26fa3d525
révision b4ffe0e810
5 fichiers modifiés
+15 -35

Aucun fichier ne correspond à votre recherche

-11
Voir le fichier
@@ -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); }