Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/coreclr/debug/ee/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2774,6 +2774,13 @@ DebuggerMethodInfo *Debugger::GetOrCreateMethodInfo(Module *pModule, mdMethodDef
}
CONTRACTL_END;

#ifdef DACCESS_COMPILE
if (!HasLazyData())
{
return NULL;
}
#endif // #ifdef DACCESS_COMPILE

DebuggerMethodInfo *info = NULL;

// When dump debugging, we don't expect to have a lock,
Expand Down
4 changes: 3 additions & 1 deletion src/coreclr/vm/frames.h
Original file line number Diff line number Diff line change
Expand Up @@ -1041,8 +1041,10 @@ typedef DPTR(class SoftwareExceptionFrame) PTR_SoftwareExceptionFrame;
class SoftwareExceptionFrame : public Frame
{
TADDR m_ReturnAddress;
T_CONTEXT m_Context;
T_KNONVOLATILE_CONTEXT_POINTERS m_ContextPointers;
// This T_CONTEXT field needs to be the last field in the class because it is a
// different size between Linux (pal.h) and the Windows cross-DAC (winnt.h).
T_CONTEXT m_Context;

public:
#ifndef DACCESS_COMPILE
Expand Down