-
Notifications
You must be signed in to change notification settings - Fork 128
Remove unused tasks and clearinitlocals optimization #1295
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
eerhardt
left a comment
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 good, after the type-o @marek-safar pointed out is fixed.
| /// Boolean specifying whether to enable clearinitlocals optimization globally. | ||
| /// Maps to '--enable-opt clearinitlocals' or '--disable-opt clearinitlocals'. | ||
| /// </summary> | ||
| public bool ClearInitLocals { set => _clearInitLocals = value; } |
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.
Note that once you remove this, the line in the SDK that sets this is going to fail when the new ILLink task version is brought in:
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.
Like #1292, I'll wait for the SDK changes to flow into the linker, to get the integration tests passing.
* Remove unsupported linker argument See dotnet/linker#1295 * Also remove test
4f42ca4 to
2753a38
Compare
These were used in the MSBuild logic that shipped with the OOB ILLink.Tasks. They are no longer used now that the linker ships with the SDK.
2753a38 to
7cb82a9
Compare
) * Remove unused tasks These were used in the MSBuild logic that shipped with the OOB ILLink.Tasks. They are no longer used now that the linker ships with the SDK. * Remove ClearInitLocals optimization Fixes dotnet/linker#1256 * Fix build and typo Commit migrated from dotnet/linker@c019f7a
@eerhardt pointed out that blazor was using some logic copied from one of our unused tasks, left over from when we shipped ILLink.Tasks OOB. This removes the unused tasks.
Also removes the unused clearinitlocals optimization. Fixes #1256.