File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ protected override DependencyList ComputeNonRelocationBasedDependencies(NodeFact
5555 MethodDesc canonMethod = _targetMethod . GetCanonMethodTarget ( CanonicalFormKind . Specific ) ;
5656 dependencies . Add ( factory . GVMDependencies ( canonMethod ) , "GVM dependencies for runtime method handle" ) ;
5757
58+ if ( _targetMethod != canonMethod )
59+ {
60+ dependencies . Add ( factory . ShadowConcreteMethod ( _targetMethod ) , "GVM concrete method dependencies" ) ;
61+ }
62+
5863 // GVM analysis happens on canonical forms, but this is potentially injecting new genericness
5964 // into the system. Ensure reflection analysis can still see this.
6065 if ( _targetMethod . IsAbstract )
You can’t perform that action at this time.
0 commit comments