35#define THREAD_PLAN_USE_ASSEMBLY_TRACER 1
37#ifdef THREAD_PLAN_USE_ASSEMBLY_TRACER
50 s->
Printf(
"Base thread plan.");
64 bool should_notify = stop_info_sp->ShouldNotify(event_ptr);
81 StopReason reason = stop_info_sp->GetStopReason();
92 if (stop_info_sp->ShouldStopSynchronous(event_ptr)) {
98 "Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64
109 if (stop_info_sp->ShouldNotify(event_ptr)) {
128 "Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64
130 m_tid, stop_info_sp->GetDescription());
140 "Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64
148 if (stop_info_sp->ShouldStop(event_ptr)) {
151 "Base plan discarding thread plans for thread tid = 0x%4.4" PRIx64
153 m_tid, stop_info_sp->GetDescription());
159 if (stop_info_sp->ShouldNotify(event_ptr))
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_LOGF(log,...)
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 DoWillResume(lldb::StateType resume_state, bool current_plan) override
bool ValidatePlan(Stream *error) override
Returns whether this plan could be successfully created.
bool ShouldStop(Event *event_ptr) override
ThreadPlanBase(Thread &thread)
bool DoPlanExplainsStop(Event *event_ptr) override
lldb::StateType GetPlanRunState() override
Vote ShouldReportStop(Event *event_ptr) override
bool MischiefManaged() override
void GetDescription(Stream *s, lldb::DescriptionLevel level) override
Print a description of this thread to the stream s.
bool StopOthers() override
~ThreadPlanBase() override
Thread & GetThread()
Returns the Thread that is using this thread plan.
void SetThreadPlanTracer(lldb::ThreadPlanTracerSP new_tracer_sp)
bool TracerExplainsStop()
bool SetIsControllingPlan(bool value)
lldb::StopInfoSP GetPrivateStopInfo()
bool GetTraceEnabledState() const
void DiscardThreadPlans(bool force)
Discards the plans queued on the plan stack of the current thread.
lldb::StopInfoSP GetStopInfo()
A class that represents a running process on the host machine.
Log * GetLog(Cat mask)
Retrieve the Log object for the channel associated with the given log enum.
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.
std::shared_ptr< lldb_private::StopInfo > StopInfoSP
StopReason
Thread stop reasons.
@ eStopReasonExec
Program was re-exec'ed.
@ eStopReasonThreadExiting
std::shared_ptr< lldb_private::ThreadPlanTracer > ThreadPlanTracerSP