diff options
Diffstat (limited to 'lldb/source/Target/ThreadPlanCallFunction.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlanCallFunction.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanCallFunction.cpp b/lldb/source/Target/ThreadPlanCallFunction.cpp index a662ea0589dc..9619f56bb35a 100644 --- a/lldb/source/Target/ThreadPlanCallFunction.cpp +++ b/lldb/source/Target/ThreadPlanCallFunction.cpp @@ -129,6 +129,13 @@ ThreadPlanCallFunction::DoTakedown () } void +ThreadPlanCallFunction::WillPop () +{ + if (m_valid && !IsPlanComplete()) + DoTakedown(); +} + +void ThreadPlanCallFunction::GetDescription (Stream *s, lldb::DescriptionLevel level) { if (level == lldb::eDescriptionLevelBrief) |
