Fix stack walking and reporting of default interface methods (dotnet/coreclr#21525)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Tue, 18 Dec 2018 08:56:23 +0000 (09:56 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Dec 2018 08:56:23 +0000 (09:56 +0100)
commit2cfb93f4102f2506735c1b9e0bf0f573ab23af2c
treed59d97dd77c82e952d0799a984d673678ca9bec9
parent964a8bff7e26b161a69d20de183ccaa83bc7f9b1
Fix stack walking and reporting of default interface methods (dotnet/coreclr#21525)

Default interface methods in their unresolved state don't have a generic context. The generic context is only added once the method is resolved to its implementation.

Commit migrated from https://github.com/dotnet/coreclr/commit/352a5cb1b358ba7e3a5addbf7bd4a5fd73499683
14 files changed:
src/coreclr/src/inc/corcompile.h
src/coreclr/src/vm/compile.cpp
src/coreclr/src/vm/compile.h
src/coreclr/src/vm/frames.cpp
src/coreclr/src/vm/frames.h
src/coreclr/src/vm/gcenv.ee.common.cpp
src/coreclr/src/zap/zapimport.cpp
src/coreclr/src/zap/zapimport.h
src/coreclr/tests/src/Loader/classloader/DefaultInterfaceMethods/sharedgenerics/sharedgenerics_d.ilproj
src/coreclr/tests/src/Loader/classloader/DefaultInterfaceMethods/sharedgenerics/sharedgenerics_r.ilproj
src/coreclr/tests/src/Regressions/coreclr/15241/genericcontext.ilproj
src/coreclr/tests/src/Regressions/coreclr/16355/boring.ilproj
src/coreclr/tests/src/Regressions/coreclr/16775/sharedinterfacemethod.ilproj
src/coreclr/tests/src/Regressions/coreclr/20452/twopassvariance.ilproj