Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Update ILLink.Tasks - #25596

Merged
sbomer merged 6 commits into
dotnet:masterfrom
sbomer:updateILLink
Nov 1, 2019
Merged

sbomer merged 6 commits into
dotnet:masterfrom
sbomer:updateILLink

Conversation

@sbomer

@sbomer sbomer commented Jul 8, 2019

Copy link
Copy Markdown
Member

This adds a few roots that are needed by reflection APIs, experimental
(internal) APIs, and by the runtime.

The new version includes the cecil update to keep attributes on generic parameter constraints.

@sbomer
sbomer requested a review from jkotas July 8, 2019 16:03

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

<type fullname="Internal.Runtime.InteropServices.IClassFactory2" />
<type fullname="System.GC">
<!-- Internal API that we are iterating on: https://github.com/dotnet/coreclr/pull/24202 -->
<method name="RegisterMemoryLoadChangeNotification" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add UnregisterMemoryLoadChangeNotification too.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Or drop this from this change completely. This API was broken for quite a while and nobody noticed.)

@sbomer sbomer added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Jul 9, 2019
@sbomer

sbomer commented Jul 9, 2019 •

Copy link
Copy Markdown
Member Author

Waiting to merge until I can update both coreclr and corefx with dotnet/linker#649. This change isn't necessary for coreclr, but we should keep the versions in sync.

This adds a few roots that are needed by reflection APIs, experimental
(internal) APIs, and by the runtime.
The Register/Unregister methods were already being removed by the
linker, so we do not need to introduce them.
This wasn't causing any problems since these packages happened to have
tools folders, which always get the path property generated. We could
get rid of them, but perhaps it's better to be explicit.
I'm not sure we ever build corelib using desktop MSBuild, but this
should prevent problems like
dotnet/corefx#42266 if we do.
@sbomer sbomer removed the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Nov 1, 2019
@sbomer

sbomer commented Nov 1, 2019

Copy link
Copy Markdown
Member Author

@jkoritzinsky does f680efa look ok to you?

@sbomer
sbomer requested a review from jkoritzinsky November 1, 2019 17:36
@sbomer
sbomer merged commit 34fe045 into dotnet:master Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants