mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
Patch from Andrew Kaylor andrew.kaylor@intel.com to have
Thread::ResetFrameZeroRegisters() clear the UnwindLLDB object when resetting the thread's register state. llvm-svn: 167910
This commit is contained in:
parent
bae23ed8c5
commit
d525d0746e
@ -1682,6 +1682,8 @@ Thread::ResetFrameZeroRegisters (lldb::DataBufferSP register_data_sp)
|
||||
// Clear out all stack frames as our world just changed.
|
||||
ClearStackFrames();
|
||||
frame_sp->GetRegisterContext()->InvalidateIfNeeded(true);
|
||||
if (m_unwinder_ap.get())
|
||||
m_unwinder_ap->Clear();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user