[aot] Add support for references to GENERIC_ARRAY_HELPER wrappers. (#42580)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 25 Sep 2020 00:42:13 +0000 (20:42 -0400)
committerGitHub <noreply@github.com>
Fri, 25 Sep 2020 00:42:13 +0000 (20:42 -0400)
commit4c32c47d6fdaadfd933a61a9c48bc48c872b169a
tree14ee1138faeb95494ad0d6f543d5a064ce6b506f
parentaac5c368e99446041d4877f32523a7896d920eac
[aot] Add support for references to GENERIC_ARRAY_HELPER wrappers. (#42580)

The testcase only fails when AOTed using --aot=soft-debug.

Fixes https://github.com/mono/mono/issues/20421.

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
src/mono/mono/metadata/marshal.c
src/mono/mono/metadata/marshal.h
src/mono/mono/mini/aot-compiler.c
src/mono/mono/mini/aot-runtime.c
src/mono/mono/mini/aot-tests.cs