forked from OSchip/llvm-project
ThreadPlanCallUserExpression's WillPop needs to call it's parent's WillPop.
llvm-svn: 123816
This commit is contained in:
parent
e2d4f0d7ce
commit
e8231f41aa
|
@ -70,6 +70,9 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
// Classes that derive from ClangFunction, and implement
|
||||
// their own WillPop methods should call this so that the
|
||||
// thread state gets restored if the plan gets discarded.
|
||||
virtual void
|
||||
WillPop ();
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ public:
|
|||
virtual void
|
||||
WillPop ()
|
||||
{
|
||||
ThreadPlanCallFunction::WillPop();
|
||||
if (m_user_expression_sp)
|
||||
m_user_expression_sp.reset();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue