-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert ILLink's usage of dependency analysis framework (#104267)
See #103987 (comment) for context. Custom steps rely on getting a chance to see a type before we build the type info (and in particular the interface method mapping), but we make no such guarantee. #104266 tracks this problem. Our use of the dependency analysis framework exacerbated this because `MarkType` was split into two pieces, with the part that calls into the custom step being delayed through a dependency analysis framework node, making it more likely to be run too late to influence the type info. This reverts ILLink's usage of the dependency analysis framework to bring us back to a state where the ordering still isn't guaranteed, but works for the testcase that got regressed. We should bring this back as soon as possible with a proper fix that actually guarantees the ordering required by custom steps. This doesn't look completely straightforward, but should be possible to do with the dependency analysis framework. Fixes #103987 (but we need a better long-term fix for #104266).
- Loading branch information
Showing
19 changed files
with
257 additions
and
353 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
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
43 changes: 0 additions & 43 deletions
43
src/tools/illink/src/linker/Linker.Steps/MarkStep.MethodDefinitionNode.cs
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
src/tools/illink/src/linker/Linker.Steps/MarkStep.NodeFactory.cs
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
src/tools/illink/src/linker/Linker.Steps/MarkStep.ProcessCallbackNode.cs
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
src/tools/illink/src/linker/Linker.Steps/MarkStep.PropertyDefinitionNode.cs
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
src/tools/illink/src/linker/Linker.Steps/MarkStep.TypeDefinitionNode.cs
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
src/tools/illink/src/linker/Linker.Steps/MarkStep.TypeIsRelevantToVariantCastingNode.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.