Skip to content
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

Consistently report unresolved members in illink #103667

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Jun 18, 2024

Just fixing something I noticed while investigating another issue. The resolution cache is shared between Resolve and TryResolve, so we should call ReportUnresolved from Resolve when we see a cached null result (that could have been cached during TryResolve). Should make no difference to supported scenarios because we always run with IgnoreUnresolved true.

Looks like I regressed this in dotnet/linker#2253.

@sbomer sbomer requested a review from jtschuster June 18, 2024 18:57
@sbomer sbomer requested a review from marek-safar as a code owner June 18, 2024 18:57
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Jun 18, 2024
@dotnet-policy-service dotnet-policy-service bot added the linkable-framework Issues associated with delivering a linker friendly framework label Jun 18, 2024
Copy link
Contributor

Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas
See info in area-owners.md if you want to be subscribed.

Co-authored-by: Jackson Schuster <36744439+jtschuster@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants