Lock the Unwinder before accessing it.
llvm-svn: 142632
diff --git a/lldb/source/Plugins/Process/Utility/UnwindLLDB.h b/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
index 9625e2e..dfd488d 100644
--- a/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
+++ b/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
@@ -30,22 +30,23 @@
virtual
~UnwindLLDB() { }
+protected:
void
- Clear()
+ DoClear()
{
m_frames.clear();
}
virtual uint32_t
- GetFrameCount();
+ DoGetFrameCount();
bool
- GetFrameInfoAtIndex (uint32_t frame_idx,
+ DoGetFrameInfoAtIndex (uint32_t frame_idx,
lldb::addr_t& cfa,
lldb::addr_t& start_pc);
lldb::RegisterContextSP
- CreateRegisterContextForFrame (lldb_private::StackFrame *frame);
+ DoCreateRegisterContextForFrame (lldb_private::StackFrame *frame);
private:
struct Cursor