diff options
Diffstat (limited to 'lldb/include/lldb/Target/Thread.h')
-rw-r--r-- | lldb/include/lldb/Target/Thread.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lldb/include/lldb/Target/Thread.h b/lldb/include/lldb/Target/Thread.h index cdd66c0199e..966fd707b0f 100644 --- a/lldb/include/lldb/Target/Thread.h +++ b/lldb/include/lldb/Target/Thread.h @@ -775,6 +775,13 @@ public: { return m_destroy_called; } + + // When you implement this method, make sure you don't overwrite the m_actual_stop_info if it claims to be + // valid. The stop info may be a "checkpointed and restored" stop info, so if it is still around it is right + // even if you have not calculated this yourself, or if it disagrees with what you might have calculated. + virtual lldb::StopInfoSP + GetPrivateStopReason () = 0; + protected: friend class ThreadPlan; @@ -796,12 +803,6 @@ protected: ThreadPlan *GetPreviousPlan (ThreadPlan *plan); - // When you implement this method, make sure you don't overwrite the m_actual_stop_info if it claims to be - // valid. The stop info may be a "checkpointed and restored" stop info, so if it is still around it is right - // even if you have not calculated this yourself, or if it disagrees with what you might have calculated. - virtual lldb::StopInfoSP - GetPrivateStopReason () = 0; - typedef std::vector<lldb::ThreadPlanSP> plan_stack; void |