-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Use jit interface thunkgen tech for more files #45044
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't this file also need a license notice? |
||
////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE | ||
// | ||
// #JITEEVersionIdentifier | ||
// | ||
// This GUID represents the version of the JIT/EE interface. Any time the interface between the JIT and | ||
// the EE changes (by adding or removing methods to any interface shared between them), this GUID should | ||
// be changed. This is the identifier verified by ICorJitCompiler::getVersionIdentifier(). | ||
// | ||
// You can use "uuidgen.exe -s" to generate this value. | ||
// | ||
// **** NOTE TO INTEGRATORS: | ||
// | ||
// If there is a merge conflict here, because the version changed in two different places, you must | ||
// create a **NEW** GUID, not simply choose one or the other! | ||
// | ||
// NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE | ||
// | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
constexpr GUID JITEEVersionIdentifier = { /* 0d235fe4-65a1-487a-8553-c845496da901 */ | ||
0x0d235fe4, | ||
0x65a1, | ||
0x487a, | ||
{0x85, 0x53, 0xc8, 0x45, 0x49, 0x6d, 0xa9, 0x01} | ||
}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: missing trailing end-of-line character? |
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.
Seems like the "END JITEEVersionIdentifier" comment needs to be in the jiteeversionguid.h file.
We probably should have big, unmiss-able, comments at the top of all the JIT-EE interface files pointing to the JIT-EE version, but that's somewhat unrelated; this system only works when code reviewers know to ask for an interface GUID change.
Maybe the jiteeversionguid.h file should also point to the
updating-jitinterface.md
documentation.