runtime
runtime copied to clipboard
Make ReadyToRun images work with COMPlus_ZapRequire
Loading ReadyToRun images fails when COMPlus_ZapRequire is set and the corresponding assembly is in COMPlus_ZapRequireList. The suggested fix is to add
#ifdef FEATURE_READYTORUN
if(m_pFile->GetLoaded()->HasReadyToRunHeader())
return;
#endif
to DomainFile::CheckZapRequired
Fixed with PR dotnet/coreclr#3536.