Fix HelperMethodFrame::UpdateRegDisplay on x86 (#65589)
While running managed debugger tests with x86 runtime debug build, I was hiting an assert in MachineState::pRetAddress() method in a couple of tests. It turns out there was a bug in the HelperMethodFrame::UpdateRegDisplay introduced about 5 years ago that only happens in DAC. The m_MachState can be uninitialized when we enter the method and we were calling m_MachState.pRetAddr() before performing the initialization. This change fixes it.
Showing
想要评论请 注册 或 登录