19 m_callback(callback) {
49 s->
Printf(
"Running until completion of current function, then making "
static llvm::raw_ostream & error(Stream &strm)
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
bool ShouldStop(Event *event_ptr) override
ThreadPlanCallOnFunctionExit(Thread &thread, const Callback &callback)
bool DoPlanExplainsStop(Event *event_ptr) override
std::function< void()> Callback
Definition for the callback made when the currently executing thread finishes executing its function.
lldb::ThreadPlanSP m_step_out_threadplan_sp
bool ValidatePlan(Stream *error) override
Returns whether this plan could be successfully created.
lldb::StateType GetPlanRunState() override
void GetDescription(Stream *s, lldb::DescriptionLevel level) override
Print a description of this thread to the stream s.
void SetPlanComplete(bool success=true)
Thread & GetThread()
Returns the Thread that is using this thread plan.
bool SetIsControllingPlan(bool value)
virtual lldb::ThreadPlanSP QueueThreadPlanForStepOut(bool abort_other_plans, SymbolContext *addr_context, bool first_insn, bool stop_other_threads, Vote report_stop_vote, Vote report_run_vote, uint32_t frame_idx, Status &status, LazyBool step_out_avoids_code_without_debug_info=eLazyBoolCalculate)
Queue the plan used to step out of the function at the current PC of thread.
A class that represents a running process on the host machine.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
StateType
Process and Thread States.
@ eStateRunning
Process or thread is running and can't be examined.