WRAPPER_NO_CONTRACT;
static ConfigDWORD configReadyToRun;
- return configReadyToRun.val(CLRConfig::EXTERNAL_ReadyToRun) &&
- !(CORProfilerDisableAllNGenImages()) &&
- !(CORProfilerUseProfileImages());
+ return configReadyToRun.val(CLRConfig::EXTERNAL_ReadyToRun);
}
// A log file to record success/failure of R2R loads. s_r2rLogFile can have the following values:
return NULL;
}
+ if (CORProfilerDisableAllNGenImages() || CORProfilerUseProfileImages())
+ {
+ DoLog("Ready to Run disabled - profiler disabled native images");
+ return NULL;
+ }
+
if (g_pConfig->ExcludeReadyToRun(pModule->GetSimpleName()))
{
DoLog("Ready to Run disabled - module on exclusion list");