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

Mark forwarders for all TypeReferences (#2276) #2280

Merged
merged 1 commit into from
Sep 20, 2021

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Sep 17, 2021

Port #2276 to main.

In a follow-up I plan to dedup by factoring out the shared code from SweepStep and TypeReferenceMarker.

* Build testcases against reference assemblies

* Reproduce issue in testcase

* Add TypeReferenceMarker

* Update one more testcase

* Don't mark forwarders in TypeReferenceMarker

Leave the logic as before and mark them from MarkStep.

* PR feedback

- Use ref assemblies for ReferenceAttribute
- Avoid adding to common references unless needed by test dependencies
@sbomer sbomer merged commit ff06442 into dotnet:main Sep 20, 2021
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…inker#2280)

* Build testcases against reference assemblies

* Reproduce issue in testcase

* Add TypeReferenceMarker

* Update one more testcase

* Don't mark forwarders in TypeReferenceMarker

Leave the logic as before and mark them from MarkStep.

* PR feedback

- Use ref assemblies for ReferenceAttribute
- Avoid adding to common references unless needed by test dependencies

Commit migrated from dotnet/linker@ff06442
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants