summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorDavid Wrighton <davidwr@microsoft.com>2019-06-11 13:13:09 -0700
committerGitHub <noreply@github.com>2019-06-11 13:13:09 -0700
commit93675fbf467f54ab0f1f5d183c70750c9822c9ca (patch)
tree9fc2f0d0e6507da062ce55f371c46402da2a2f8f /src/inc
parent118711549ecdc024719d5023a004a2250705cdf9 (diff)
downloadcoreclr-93675fbf467f54ab0f1f5d183c70750c9822c9ca.tar.gz
coreclr-93675fbf467f54ab0f1f5d183c70750c9822c9ca.tar.bz2
coreclr-93675fbf467f54ab0f1f5d183c70750c9822c9ca.zip
R2R ilstubs (#24823)
* Basic support for precompiled pinvoke stubs * Generate R2R file with multiple references to same IL stub (one per method which the IL stub is associated with) * Not all il stubs are p/invokes. Don't fail when they aren't. * Consistently use IsDynamicScope and GetModule to avoid unsafe memory access in IL stub compilation paths * Enable full p/invoke il stubs when compiling System.Private.Corelib * Disable IL Stub generation in crossgen for ARM32. - The cross bitness logic is not correct for IL Stub generation
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/corcompile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h
index 5f39c65f79..755c846f51 100644
--- a/src/inc/corcompile.h
+++ b/src/inc/corcompile.h
@@ -1756,6 +1756,11 @@ class ICorCompileInfo
virtual int GetVersionResilientTypeHashCode(CORINFO_MODULE_HANDLE moduleHandle, mdToken token) = 0;
virtual int GetVersionResilientMethodHashCode(CORINFO_METHOD_HANDLE methodHandle) = 0;
+
+ virtual BOOL EnumMethodsForStub(CORINFO_METHOD_HANDLE hMethod, void** enumerator) = 0;
+ virtual BOOL EnumNextMethodForStub(void * enumerator, CORINFO_METHOD_HANDLE *hMethod) = 0;
+ virtual void EnumCloseForStubEnumerator(void *enumerator) = 0;
+
#endif
virtual BOOL HasCustomAttribute(CORINFO_METHOD_HANDLE method, LPCSTR customAttributeName) = 0;