Call `SetParentAssembly` when binding from native manifest (#34924)
authorSimon Nattress <nattress@gmail.com>
Tue, 14 Apr 2020 22:14:42 +0000 (15:14 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Apr 2020 22:14:42 +0000 (15:14 -0700)
commit3b752f90f93013011ba6dc50df0a918bcbf1542d
tree6a9759c7ed5d41c22332903359d06f68ae7fbf69
parent15eb48eee351d325f5273d0deadf661ff24d90e2
Call `SetParentAssembly` when binding from native manifest (#34924)

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.
src/coreclr/src/vm/zapsig.cpp