Partial R2R IBC fixes (dotnet/coreclr#19073)
authorJan Kotas <jkotas@microsoft.com>
Mon, 23 Jul 2018 19:17:56 +0000 (12:17 -0700)
committerGitHub <noreply@github.com>
Mon, 23 Jul 2018 19:17:56 +0000 (12:17 -0700)
commit65ec365eff592e4ce57c313e7f90503c47d3ce07
treece7ea062f657278a3a0b7013f64c3b733332d43b
parent31296c15cd5375f8e9e63424d91dbd540113da04
Partial R2R IBC fixes (dotnet/coreclr#19073)

* Partial R2R IBC fixes

- Log use method code access in all cases, not just when the method is JITed
- Add workaround for CONTRACT_VIOLATION that shows up in checked builds when collecting IBC data
- Make /ReadyToRun switch work for CoreLib

Commit migrated from https://github.com/dotnet/coreclr/commit/0c7a59efa088c2043ec57d7449f9f11dc96a395e
src/coreclr/src/tools/crossgen/crossgen.cpp
src/coreclr/src/vm/ceemain.cpp
src/coreclr/src/vm/prestub.cpp