-
Notifications
You must be signed in to change notification settings - Fork 5k
Revert removal of embedModuleHandle and embedFieldHandle #116036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…map (dotnet#115542)" This reverts commit 30160aa.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reverts the removal of the embedModuleHandle and embedFieldHandle APIs, restoring their implementations in the JIT interface and related components.
- Reintroduces embedModuleHandle and embedFieldHandle method implementations in the VM, SuperPMI, and JIT interface layers.
- Updates the corresponding headers, thunk generation files, and runtime structures to include the restored APIs.
- Adjusts debug and logging functions to capture calls to the restored functions.
Reviewed Changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
src/coreclr/vm/jitinterface.cpp | Adds implementations for embedModuleHandle and embedFieldHandle in CEEInfo. |
src/coreclr/tools/superpmi/* | Updates in various SuperPMI shim and generated files to forward/embed the restored functions. |
src/coreclr/tools/Common/JitInterface/* | Adjustments in generated headers and thunk input to reflect the reintroduced functions. |
src/coreclr/jit/* | Updates in importer.cpp and compiler.hpp to handle the new helper argument type CORINFO_HELPER_ARG_TYPE_Module and invoke the restored functions. |
src/coreclr/inc/* | Updates in corinfo.h and related generated headers to include the new virtual declarations. |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
Context #115542 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
to keep the abstraction, cc @jkotas