SPMI: Restore CORINFO_CALL_INFO stub lookup correctly (#90016)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Fri, 4 Aug 2023 21:42:50 +0000 (23:42 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2023 21:42:50 +0000 (23:42 +0200)
commit91fae2730fb2c452aa4e362eb6d514dc7c984cdb
tree12495038d30f33ad2dbf6e49ff40e93e4d59dc19
parentd3772d497f39941ece1cd1b6305209560ab69e32
SPMI: Restore CORINFO_CALL_INFO stub lookup correctly (#90016)

SPMI was not restoring the runtimeLookupFlags/runtimeLookupArgs of the
embedded CORINFO_LOOKUP_KIND, leaving them set to garbage. This would
cause misses when replaying getReadyToRunHelper where those members are
used as the key.
src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp