Fix assert when CORECLR_PROFILER is set but CORECLR_PROFILER_PATH is not (dotnet...
authorAustin Wise <AustinWise@gmail.com>
Fri, 18 Oct 2019 20:52:05 +0000 (13:52 -0700)
committerDavid Mason <davmason@microsoft.com>
Fri, 18 Oct 2019 20:52:05 +0000 (13:52 -0700)
The null DLL name is eventually passed to FakeCoCallDllGetClassObject which
knowns how to look up the DLL name based on the CLSID specified by
CORECLR_PROFILER.

Commit migrated from https://github.com/dotnet/coreclr/commit/55f39c6037ee66771599a7b912ea210e7e61eaf2

src/coreclr/src/vm/profilinghelper.cpp

index 5f989d9..92cc8d6 100644 (file)
@@ -841,7 +841,6 @@ HRESULT ProfilingAPIUtility::DoPreInitialization(
         PRECONDITION(pEEProf != NULL);
         PRECONDITION(pClsid != NULL);
         PRECONDITION(wszClsid != NULL);
-        PRECONDITION(wszProfilerDLL != NULL);
     }
     CONTRACTL_END;