This requirement effectively disables double-aligned frames (which are
effectively a special case of ESP frames). Without this change it is
possible for the JIT to generate a throw block with sources that have
mismatched offsets, which can lead to GC holes.
Fixes VSO 424019.
Commit migrated from https://github.com/dotnet/coreclr/commit/
93db790df78e34a496c8a4ecc985289e680b9958
#if defined(UNIX_X86_ABI)
codeGen->setFrameRequired(true);
+ codeGen->setFramePointerRequiredGCInfo(true);
#else // !defined(UNIX_X86_ABI)
if (add->acdStkLvl != stkDepth)
{
codeGen->setFrameRequired(true);
+ codeGen->setFramePointerRequiredGCInfo(true);
}
#endif // !defined(UNIX_X86_ABI)
#endif // _TARGET_X86_