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

Call SetParentAssembly when binding from native manifest #34924

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

nattress
Copy link
Contributor

In large version bubble mode, Crossgen2 uses the native manifest table to encode assembly references. When a referenced module is decoded and an AssemblySpec is created, set the parent assembly for the bind.

Fixes Loader\binding\tracing\BinderTracingTest.Basic regression, which checks parent assembly is correctly set in the bind result.

Fixes #34509

In large version bubble mode, Crossgen2 uses the native manifest table to encode assembly references. When a referenced module is decoded and an `AssemblySpec` is created, set the parent assembly for the bind.

Fixes Loader\binding\tracing\BinderTracingTest.Basic regression, which checks parent assembly is correctly set in the bind result.
@ghost
Copy link

ghost commented Apr 13, 2020

Tagging subscribers to this area: @ViktorHofer
Notify danmosemsft if you want to be subscribed.

@nattress
Copy link
Contributor Author

cc @dotnet/crossgen-contrib

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

Looks great to me, thanks for fixing this!

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@nattress nattress merged commit 3b752f9 into dotnet:master Apr 14, 2020
@nattress nattress deleted the crossgen_binder_test branch April 14, 2020 22:14
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
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.

Loader\\binding\\tracing\\BinderTracingTest.Basic\\BinderTracingTest.Basic Asserts when Crossgen2-compiled
4 participants