Remove jitOnDllProcess{Attach,Detach}.
authorPat Gavlin <pagavlin@microsoft.com>
Tue, 17 May 2016 16:05:04 +0000 (09:05 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Tue, 17 May 2016 18:52:21 +0000 (11:52 -0700)
commit265a27c75cada08509a5f0474cdb2938902370c0
tree12dd28f0e71d8d5af08d4a36dd28eefee7716308
parent4941764c8ee3812f7f3cce36ad258d3c0b10d3b3
Remove jitOnDllProcess{Attach,Detach}.

These functions have been obviated by a more clearly-defined JIT
startup and shutdown interface.

This fixes a crash in coreclr.dll during DLL unload: the runtime was
calling jitOnDllProcessDetach (which calls jitShutdown) without having
called jitStartup to initialized the JIT.
src/dlls/mscoree/mscoree.cpp
src/jit/ee_il_dll.cpp
src/vm/ceemain.cpp