Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Workaround NRE in SweepStep - #2264

Merged
vitek-karas merged 5 commits into
dotnet:mainfrom
vitek-karas:WorkaroundNREInSweep
Sep 8, 2021
Merged

vitek-karas merged 5 commits into
dotnet:mainfrom
vitek-karas:WorkaroundNREInSweep

Conversation

@vitek-karas

Copy link
Copy Markdown
Member

Basically a workaround for #2260. This simply goes back to using the Resolve method and avoid the cache for now.

@sbomer sbomer 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.

Thank you for fixing this!

Comment thread src/linker/Linker.Steps/SweepStep.cs Resolved
Comment thread src/linker/Linker.Steps/SweepStep.cs Resolved
Basically a workaround for dotnet#2260. This simply goes back to using the `Resolve` method and avoid the cache for now.
@vitek-karas
vitek-karas merged commit a9888c2 into dotnet:main Sep 8, 2021
@vitek-karas
vitek-karas deleted the WorkaroundNREInSweep branch September 8, 2021 09:14
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Basically a workaround for dotnet/linker#2260. This simply goes back to using the `Resolve` method and avoid the cache for now.

Commit migrated from dotnet/linker@a9888c2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants