This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
Merge Master to NMirror - #1539
Merged
Merged
Conversation
Slight refactoring to make it possible to instantiate compilation group outside of Compilation. * I'm purposefully making it harder to root things outside of what's allowed by making the class implementing ICompilationRootProvider private. After initial roots are established, nobody should be rooting anything. Everything needs to fall out of the graph. * Fixing the reflection initialization root path to make it multifile mode friendly * Localizing the workaround that disables reflection on CppCodegen to CppCodegen. * Move compilation group creation out of Compilation * Also, delete CompilationOptions that became unnecessary. * Rename ICompilationRootProvider -> IRootingServiceProvider We will likely want to split CompilationGroup into two classes in the future (the logic that roots things is unrelated and we will likely want to mix and match different roots with single/multifile policies).
Add a set of command line arguments that let us specify a single method to compile. This is useful when investigating code generation issues to help narrow down the focus and make it easier to set up breakpoints. Fixes #1142.
Generic parameters will assert and it seems preferable for it to stay that way.
* Canon is not variant. * RuntimeDeterminedType has the same variance as the underlying canon type (which probably means never variant either unless we allow variance on generic structs)
Making this return a `MetadataType` was too eager. We don't need a `MetadataType` and this actually became a hindrance because Canon types don't derive off `MetadataType` and the code in JitInterface needs to be able to handle them.
* Do not ask generic parameters if they're runtime determined Generic parameters will assert and it seems preferable for it to stay that way. * Get variance information off of Canon/RuntimeDetermined types * Canon is not variant. * RuntimeDeterminedType has the same variance as the underlying canon type (which probably means never variant either unless we allow variance on generic structs)
This is needed for NgenDump RyuJIT option to work.
`NameMangler`'s job is to provide stable names for types and their members. It doesn't have a connection with the compilation process and therefore shouldn't depend on `Compilation`. This makes it reusable and unit testable. I'm also taking `CompilationUnitPrefix` away from it. It doesn't have a logical connection (except that it's related to naming and it was convenient to put it there). I'm putting it on NodeFactory temporarily, but there is a strong correlation between a dependency node using `CompiationUnitPrefix` in it's name and reporting `ShouldShareNodeAcrossModules` as false. Maybe we should use that in `ObjectWriter` to prepend it automatically instead of hoping the node won't mess it up and jumping through hoops (a static variable) to get to it.
Merge NMirror to Master
- Expand Debug.DebugBreak as IL intrinsic - Implement RhDebugBreak JIT helper for IL break instruction - Switch assembly code to use RhDebugBreak to avoid C++ name mangling goo - Change PalDebugBreak to be inline to avoid extra frames under debugger - Cleanup some left-over cruft in Unix PAL
https://github.com/dotnet/coreclr/tree/master/src/gc bdfce9ed7fb93086f0b10ce999e2c21f34e08ada
GC update from CoreCLR
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.