This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
Extend root mode options with library mode - #1811
Merged
Merged
Conversation
vitek-karas
approved these changes
Feb 8, 2021
vitek-karas
left a comment
Member
There was a problem hiding this comment.
Except for the "internal type" thing, looks good.
Comment on lines
+72
to
+73
| // Assembly root mode wins over any enabled optimization which | ||
| // could conflict with library rooting behaviour |
Member
There was a problem hiding this comment.
Future refactoring idea: If assembly action is not Link we also effectively disable lot of optimizations, but it's done in each usage site explicitly (check for action and then check for the optimization). Maybe it would be cleaner to disable optimization based on actions as well (not just root mode).
Member
There was a problem hiding this comment.
Agreed - we are increasingly blurring the line between actions and root modes and it seems worthwhile to consider unifying them or separating out the overlapping behaviors (not saying it should be done in this change)
sbomer
approved these changes
Feb 8, 2021
marek-safar
added a commit
to marek-safar/linker
that referenced
this pull request
Feb 10, 2021
Follow up from dotnet#1811
marek-safar
added a commit
to marek-safar/linker
that referenced
this pull request
Feb 10, 2021
Follow up from dotnet#1811
agocke
pushed a commit
to dotnet/runtime
that referenced
this pull request
Nov 16, 2022
* Extend root mode options with library mode Fixes dotnet/linker#1610 * PR feedback * lint Commit migrated from dotnet/linker@17f809c
agocke
pushed a commit
to dotnet/runtime
that referenced
this pull request
Nov 16, 2022
Follow up from dotnet/linker#1811 Commit migrated from dotnet/linker@e898e7f
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.
Fixes #1610