From ac40eab10f2f65a0fe9c88b762da1719d5c3839c Mon Sep 17 00:00:00 2001 From: noahfalk Date: Mon, 13 Feb 2017 14:41:20 -0800 Subject: 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. --- src/zap/zapimage.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/zap/zapimage.cpp') diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp index 24f081a6f9..499a35b855 100644 --- a/src/zap/zapimage.cpp +++ b/src/zap/zapimage.cpp @@ -1742,6 +1742,7 @@ void ZapImage::Compile() OutputEntrypointsTableForReadyToRun(); OutputDebugInfoForReadyToRun(); OutputTypesTableForReadyToRun(m_pMDImport); + OutputInliningTableForReadyToRun(); } else #endif -- cgit v1.2.3