Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 5db8cec

Browse files
committed
Port PR #17990 from 3.0
1 parent 70e26d0 commit 5db8cec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/debug/ee/controller.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6319,8 +6319,8 @@ void DebuggerStepper::TrapStepOut(ControllerStackInfo *info, bool fForceTraditio
63196319
_ASSERTE(IsCloserToLeaf(dbgLastFP, info->m_activeFrame.fp));
63206320
#endif
63216321

6322-
#ifdef FEATURE_STUBS_AS_IL
6323-
if (info->m_activeFrame.md->IsILStub() && info->m_activeFrame.md->AsDynamicMethodDesc()->IsMulticastStub())
6322+
#ifdef FEATURE_MULTICASTSTUB_AS_IL
6323+
if (info->m_activeFrame.md != nullptr && info->m_activeFrame.md->IsILStub() && info->m_activeFrame.md->AsDynamicMethodDesc()->IsMulticastStub())
63246324
{
63256325
LOG((LF_CORDB, LL_INFO10000,
63266326
"DS::TSO: multicast frame.\n"));
@@ -6347,7 +6347,7 @@ void DebuggerStepper::TrapStepOut(ControllerStackInfo *info, bool fForceTraditio
63476347
break;
63486348
}
63496349
else
6350-
#endif // FEATURE_STUBS_AS_IL
6350+
#endif // FEATURE_MULTICASTSTUB_AS_IL
63516351
if (info->m_activeFrame.managed)
63526352
{
63536353
LOG((LF_CORDB, LL_INFO10000,

src/debug/ee/frameinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ StackWalkAction DebuggerWalkStackProc(CrawlFrame *pCF, void *data)
15631563
// The only exception is dynamic methods. We want to report them when SIS is turned on.
15641564
if ((md != NULL) && md->IsILStub() && pCF->IsFrameless())
15651565
{
1566-
#ifdef FEATURE_STUBS_AS_IL
1566+
#ifdef FEATURE_MULTICASTSTUB_AS_IL
15671567
if(md->AsDynamicMethodDesc()->IsMulticastStub())
15681568
{
15691569
use = true;

src/vm/stubmgr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ class StubManagerHelpers
976976
Thread::VirtualUnwindCallFrame(&context);
977977
Thread::VirtualUnwindCallFrame(&context);
978978

979-
return pContext->Rip;
979+
return context.Rip;
980980
#elif defined(_TARGET_ARM_)
981981
return *((PCODE *)pContext->R11 + 1);
982982
#elif defined(_TARGET_ARM64_)

0 commit comments

Comments
 (0)