SWDEV-245381 : Updated guarantee error messages to print based on BUILD_TYPE

Change-Id: Ia21039326b440f6d807a6495a9a05dd52b384c76


[ROCm/clr commit: 69a786e8d1]
Ta zmiana jest zawarta w:
%! (template.HTML=agodavar)złożyło 2021-01-05 05:49:09 -05:00
1 rodzic 5f4a45164a
złożenie b1eb35e730
5 plików zmienionych
+16 -9

Żadne pliki nie pasują do Twojego wyszukiwania

+5 -1
Wyświetl plik
@@ -46,7 +46,11 @@ extern "C" void breakpoint(void) {
void report_fatal(const char* file, int line, const char* message) {
// FIXME_lmoriche: Obfuscate the message string
fprintf(stderr, "%s:%d: %s\n", file, line, message);
#if (defined(DEBUG))
fprintf(stderr, "%s:%d: %s\n", file, line, message);
#else
fprintf(stderr, "%s\n", message);
#endif
::abort();
}