if (env->compiler)
{
phaseName = PhaseNames[env->compiler->mostRecentlyActivePhase];
- _snprintf_s(buff, BUFF_SIZE, _TRUNCATE, "Assertion failed '%s' in '%s' during '%s' (IL size %d)\n", why,
- env->compiler->info.compFullName, phaseName, env->compiler->info.compILCodeSize);
+ _snprintf_s(buff, BUFF_SIZE, _TRUNCATE,
+ "Assertion failed '%s' in '%s' during '%s' (IL size %d; hash 0x%08x; %s)\n", why,
+ env->compiler->info.compFullName, phaseName, env->compiler->info.compILCodeSize,
+ env->compiler->info.compMethodHash(), env->compiler->compGetTieringName(/* short name */ true));
msg = buff;
}
printf(""); // null string means flush