SPMI: Fix recGetStaticFieldCurrentClass (#83843)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Sun, 26 Mar 2023 13:21:26 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Mar 2023 13:21:26 +0000 (15:21 +0200)
commit922c75c837fc95092e1d9e433a087ac62082953d
tree77f76fb281a8735fc663f3d26816bef883b713f5
parentf1f9fdec9c459dc48208cda5b57ce401d9248f8d
SPMI: Fix recGetStaticFieldCurrentClass (#83843)

getStaticFieldCurrentClass has very different behavior depending on
whether pIsSpeculative is passed or not, and we need to record the
resulting class handle in both cases.

This fixes a case of replays not working after recording that I hit
while tracking down a separate issue.
src/coreclr/inc/jiteeversionguid.h
src/coreclr/tools/superpmi/superpmi-shared/lwmlist.h
src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp
src/coreclr/tools/superpmi/superpmi-shared/methodcontext.h
src/coreclr/tools/superpmi/superpmi-shim-collector/icorjitinfo.cpp