#ifdef FEATURE_PERFTRACING
// Initialize the event pipe.
EventPipe::Initialize();
- DiagnosticServer::Initialize();
#endif // FEATURE_PERFTRACING
#ifdef FEATURE_GDBJIT
#endif // CROSSGEN_COMPILE
g_fEEStarted = TRUE;
+#ifndef CROSSGEN_COMPILE
+#ifdef FEATURE_PERFTRACING
+ DiagnosticServer::Initialize();
+#endif
+#endif
g_EEStartupStatus = S_OK;
hr = S_OK;
STRESS_LOG0(LF_STARTUP, LL_ALWAYS, "===================EEStartup Completed===================");