runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Support GVM helper lookup on CoreRT

Open fadimounir opened this issue 9 years ago • 1 comments

GVM lookups on CoreRT are performed using the following steps:

  1. Load 'thisPtr' on stack
  2. Load runtime method handle of target method on stack
  3. Call helper function to resolve the GVM target (result could be a fat function pointer)
  4. Load arguments for the GVM call (possibly including a hidden instantiation argument)
  5. Calli GVM target returned from helper in step 3

Here is a working prototype that doesn't yet handle the fat function pointer case, but works with the rest of the CoreRT runtime: gvm_jit

fadimounir avatar Feb 02 '17 19:02 fadimounir

Fixed dotnet/coreclr#9522

sandreenko avatar Feb 15 '17 00:02 sandreenko