Jit profiling: include func name from map.

This commit is contained in:
Unknown W. Brackets 2013-11-30 18:44:53 -08:00
parent d35717f5a8
commit 39de7eb930

View File

@ -1562,7 +1562,12 @@ namespace MainWindow
return TRUE;
}
if (jitAddr != (u32)-1) {
swprintf_s(info->name, L"Jit::%08x", jitAddr);
const char *label = symbolMap.GetDescription(jitAddr);
if (label != NULL) {
swprintf_s(info->name, L"Jit::%08x_%S", jitAddr, label);
} else {
swprintf_s(info->name, L"Jit::%08x", jitAddr);
}
return TRUE;
}