-
Notifications
You must be signed in to change notification settings - Fork 5k
Refactor Sequential/Explicit layout to happen in the same phase where we do Auto layout #113454
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
Conversation
… we do auto layout.
Tagging subscribers to this area: @mangod9 |
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.
Copilot reviewed 2 out of 12 changed files in this pull request and generated no comments.
Files not reviewed (10)
- src/coreclr/vm/class.cpp: Language not supported
- src/coreclr/vm/class.h: Language not supported
- src/coreclr/vm/classcompat.h: Language not supported
- src/coreclr/vm/fieldmarshaler.cpp: Language not supported
- src/coreclr/vm/fieldmarshaler.h: Language not supported
- src/coreclr/vm/jitinterface.cpp: Language not supported
- src/coreclr/vm/method.hpp: Language not supported
- src/coreclr/vm/methodtable.cpp: Language not supported
- src/coreclr/vm/methodtable.h: Language not supported
- src/coreclr/vm/methodtablebuilder.h: Language not supported
/// @brief Read the offsets for a type's fields from metadata for explicit layout. | ||
/// @param pModule The module containing the type. | ||
/// @param cl The metadata token of the type. | ||
/// @param pFieldInfoArray The information about the instance fields of the type. | ||
/// @param cInstanceFields The numer of instance fields in the type. | ||
/// @param parentSize The size of the parent type's layout. | ||
/// @return The end of the last field in this layout |
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.
Is this doxygen? Do we have any other comments like this in runtime?
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.
Yeah this is the doxygen format. Got auto-inserted and was useful for setting things up. I see usages in Mono and the repo minipal, but not in coreclr. I can remove them if you want
/azp run runtime-coreclr crossgen2 outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
The only failure is an existing issue in the crossgen2 outerloop pipeline. We've now validated the new implementation in CoreCLR matches crossgen2 for all types in the BCL and in the runtime test tree. |
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.
Looks like a very nice simplification of quite a lot of code. I only saw 1 very small nit, and 1 straightforward issue to fix.
…form that can have an 8-byte alignment requirement
/ba-g host failure unrelated |
… we do Auto layout (#113454)
This will make it easier to implement #100896