[netcore] Fix offsets generation when cross compiling
commit450d4746849d228c85748d9ab4ef68f90ac0c7f2
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 25 Oct 2019 18:32:03 +0000 (25 20:32 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 28 Oct 2019 12:57:17 +0000 (28 13:57 +0100)
tree907d22af3cd9850688c20b87a55f4e8b1d2d0956
parentfb7b075e4930751421a5feb0b9ac095d832df228
[netcore] Fix offsets generation when cross compiling

The offsets-tool.py uses some magic to map `typename` to `<underscore>typename` for looking up runtime types.
This caused issues on netcore because we aliased it to a different name.

To fix this let's keep the `_MonoInternalThread` name instead and just fix the one location where `_MonoThread` is used.
mono/metadata/appdomain.c
mono/metadata/object-internals.h
mono/metadata/object.h
mono/mini/mini-runtime.c
mono/utils/mono-forward-internal.h