9#ifndef LLDB_TARGET_THREADPLANSTEPOUT_H
10#define LLDB_TARGET_THREADPLANSTEPOUT_H
24 bool first_insn,
bool stop_others,
Vote report_stop_vote,
25 Vote report_run_vote, uint32_t frame_idx,
26 LazyBool step_out_avoids_code_without_debug_info,
27 bool continue_to_next_branch =
false,
28 bool gather_return_value =
true);
32 Vote report_run_vote, uint32_t frame_idx,
33 bool continue_to_next_branch =
false,
34 bool gather_return_value =
true);
88 bool abort_other_plans,
SymbolContext *addr_context,
bool first_insn,
89 bool stop_others,
Vote report_stop_vote,
Vote report_run_vote,
90 uint32_t frame_idx,
Status &status,
91 LazyBool step_out_avoids_code_without_debug_info);
97 uint32_t frame_idx,
bool continue_to_next_branch);
static llvm::raw_ostream & error(Stream &strm)
ValueType Set(ValueType mask)
Set one or more flags by logical OR'ing mask with the current flags.
A class that describes a function.
A stream class that can stream formatted output to a file.
Defines a symbol context baton that can be handed other debug core functions.
ThreadPlanShouldStopHere(ThreadPlan *owner)
lldb_private::Flags & GetFlags()
void GetDescription(Stream *s, lldb::DescriptionLevel level) override
Print a description of this thread to the stream s.
lldb::ValueObjectSP m_return_valobj_sp
~ThreadPlanStepOut() override
std::vector< lldb::StackFrameSP > m_stepped_past_frames
void SetupReturnAddress(lldb::StackFrameSP return_frame_sp, lldb::StackFrameSP immediate_return_from_sp, uint32_t frame_idx, bool continue_to_next_branch)
lldb::break_id_t m_return_bp_id
bool IsPlanStale() override
lldb::ValueObjectSP GetReturnValueObject() override
bool QueueInlinedStepPlan(bool queue_now)
ThreadPlanStepOut(const ThreadPlanStepOut &)=delete
lldb::addr_t m_return_addr
const ThreadPlanStepOut & operator=(const ThreadPlanStepOut &)=delete
void CalculateReturnValue()
Function * m_immediate_step_from_function
lldb::StateType GetPlanRunState() override
lldb::ThreadPlanSP m_step_out_further_plan_sp
void SetStopOthers(bool new_value) override
bool m_calculate_return_value
bool DoWillResume(lldb::StateType resume_state, bool current_plan) override
void SetupAvoidNoDebug(LazyBool step_out_avoids_code_without_debug_info)
ThreadPlanStepOut(Thread &thread, SymbolContext *addr_context, bool first_insn, bool stop_others, Vote report_stop_vote, Vote report_run_vote, uint32_t frame_idx, LazyBool step_out_avoids_code_without_debug_info, bool continue_to_next_branch=false, bool gather_return_value=true)
Creates a thread plan to step out from frame_idx, skipping parent frames if they are artificial or hi...
bool ValidatePlan(Stream *error) override
Returns whether this plan could be successfully created.
bool DoPlanExplainsStop(Event *event_ptr) override
bool MischiefManaged() override
lldb::ThreadPlanSP m_step_through_inline_plan_sp
bool ShouldStop(Event *event_ptr) override
static uint32_t s_default_flag_values
StreamString m_constructor_errors
void SetFlagsToDefault() override
StackID m_immediate_step_from_id
lldb::addr_t m_step_from_insn
bool StopOthers() override
lldb::ThreadPlanSP m_step_out_to_inline_plan_sp
ThreadPlan(ThreadPlanKind kind, const char *name, Thread &thread, Vote report_stop_vote, Vote report_run_vote)
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.
std::shared_ptr< lldb_private::ThreadPlan > ThreadPlanSP
std::shared_ptr< lldb_private::StackFrame > StackFrameSP
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
StateType
Process and Thread States.