Report tools library load failures in debug builds.

Change-Id: Ie1ff313e929fc46134e58730a1d370c5d7ace8db


[ROCm/ROCR-Runtime commit: f1a661dedb]
Este commit está contenido en:
Sean Keely
2017-08-09 21:46:00 -05:00
padre b2cb6bca96
commit e150edc48c
Se han modificado 2 ficheros con 12 adiciones y 0 borrados
@@ -1177,6 +1177,12 @@ void Runtime::LoadTools() {
add = (tool_add_t)os::GetExportAddress(tool, "AddAgent");
if (add) add(this);
}
#ifndef NDEBUG
else {
if (flag().report_tool_load_failures())
fprintf(stderr, "Tool lib \"%s\" failed to load.\n", names[i].c_str());
}
#endif
}
}
}