Add support for RVA fields to crossgen/R2R (dotnet/coreclr#21463)
authorJan Kotas <jkotas@microsoft.com>
Mon, 10 Dec 2018 15:52:15 +0000 (07:52 -0800)
committerGitHub <noreply@github.com>
Mon, 10 Dec 2018 15:52:15 +0000 (07:52 -0800)
commit19069610470cd42bd658a176bf8c5cf041bfad79
treed2ea67191c41af6d1f1cab9096c8a655803e87c6
parent1aec362e61aaf75108d8ef4042d72d8dd6a0d20e
Add support for RVA fields to crossgen/R2R (dotnet/coreclr#21463)

* Add support for RVA fields to crossgen/R2R

RVA fields are became more common with pre-inititialized ReadOnlySpan<byte>. Fix crossgen to deal with them for R2R.

* Fix tests, map new JIT helper for R2R

Commit migrated from https://github.com/dotnet/coreclr/commit/32d8dfb65f2403c1cb628495ee944a9f35a0eb3a
src/coreclr/src/vm/jitinterface.cpp
src/coreclr/src/zap/zapinfo.cpp
src/coreclr/tests/src/readytorun/tests/main.cs