-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use jit interface thunkgen tech for more files (#45044)
- Reduce the boilerplate logic when modifying the jit ee interface - 3 new files in superpmi are now autogenerated as well as 2 files in the jit directory are now autogenerated - Reduce to only having one copy of the jit-ee interface guid
- Loading branch information
1 parent
3c39a5d
commit e9a47b7
Showing
19 changed files
with
4,353 additions
and
4,838 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,591 changes: 622 additions & 969 deletions
1,591
src/coreclr/src/ToolBox/superpmi/superpmi-shared/icorjitinfoimpl.h
Large diffs are not rendered by default.
Oops, something went wrong.
1,376 changes: 540 additions & 836 deletions
1,376
src/coreclr/src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
1,359 changes: 540 additions & 819 deletions
1,359
src/coreclr/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// 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. | ||
// | ||
// See docs/project/updating-jitinterface.md for details | ||
// | ||
// **** 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} | ||
}; | ||
|
||
////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// END JITEEVersionIdentifier | ||
// | ||
////////////////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.