Rejit support for R2R images
authornoahfalk <noahfalk@microsoft.com>
Mon, 13 Feb 2017 22:41:20 +0000 (14:41 -0800)
committernoahfalk <noahfalk@microsoft.com>
Mon, 13 Feb 2017 22:41:20 +0000 (14:41 -0800)
commitac40eab10f2f65a0fe9c88b762da1719d5c3839c
tree200f774dd04fb3bf6d318a44d9edc1d9a9623244
parent645f0ad659dda3e356330c36e5c4702040acfb32
Rejit support for R2R images

Two changes:
a) R2R code wasn't being reported to the Rejit Manager when it was used, this is a simple fix in prestub.cpp. This makes the ReJit API work.
b) The bulk of the changes handle adding support for an inlining table to R2R so that ICorProfilerInfo6::EnumNgenMethodsInliningThisMethod can supply that information to profilers.

This was only tested on Windows thus far, but there is no apparent reason this change would be OS specific.
20 files changed:
src/inc/corcompile.h
src/inc/corprof.idl
src/inc/readytorun.h
src/mscorlib/src/System/Runtime/Versioning/NonVersionableAttribute.cs
src/vm/ceeload.cpp
src/vm/ceeload.h
src/vm/compile.cpp
src/vm/compile.h
src/vm/dataimage.cpp
src/vm/inlinetracking.cpp
src/vm/inlinetracking.h
src/vm/jitinterface.cpp
src/vm/prestub.cpp
src/vm/proftoeeinterfaceimpl.cpp
src/vm/readytoruninfo.cpp
src/vm/readytoruninfo.h
src/zap/zapimage.cpp
src/zap/zapimage.h
src/zap/zapinfo.cpp
src/zap/zapreadytorun.cpp