SWDEV-245381 : Updated guarantee error messages to print based on BUILD_TYPE
Change-Id: Ia21039326b440f6d807a6495a9a05dd52b384c76
This commit is contained in:
@@ -98,7 +98,7 @@ void MemObjMap::AddMemObj(const void* k, amd::Memory* v) {
|
||||
if (!rval.second) {
|
||||
DevLogPrintfError("Memobj map already has an entry for ptr: 0x%x",
|
||||
reinterpret_cast<uintptr_t>(k));
|
||||
guarantee(false);
|
||||
guarantee(false, "Memobj map already has an entry for ptr");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ void MemObjMap::RemoveMemObj(const void* k) {
|
||||
if (rval != 1) {
|
||||
DevLogPrintfError("Memobj map does not have ptr: 0x%x",
|
||||
reinterpret_cast<uintptr_t>(k));
|
||||
guarantee(false);
|
||||
guarantee(false, "Memobj map does not have ptr");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user