25 :
Thread(process, tid), m_backing_thread_sp(),
26 m_thread_info_valobj_sp(thread_info_valobj_sp), m_name(), m_queue(),
30 llvm::StringRef name, llvm::StringRef queue,
32 :
Thread(process, tid), m_backing_thread_sp(), m_thread_info_valobj_sp(),
33 m_name(std::string(name)), m_queue(std::string(queue)),
34 m_register_data_addr(register_data_addr) {}
58 uint32_t concrete_frame_idx = 0;
63 if (concrete_frame_idx == 0)
72 if (backing_stop_info_sp &&
73 backing_stop_info_sp->IsValidForOperatingSystemThread(*
this)) {
74 backing_stop_info_sp->SetThread(shared_from_this());
lldb::addr_t m_register_data_addr
lldb::ThreadSP m_backing_thread_sp
lldb::RegisterContextSP GetRegisterContext() override
void RefreshStateAfterStop() override
lldb::RegisterContextSP CreateRegisterContextForFrame(lldb_private::StackFrame *frame) override
bool CalculateStopInfo() override
Ask the thread subclass to set its stop info.
void WillResume(lldb::StateType resume_state) override
void ClearStackFrames() override
ThreadMemory(lldb_private::Process &process, lldb::tid_t tid, const lldb::ValueObjectSP &thread_info_valobj_sp)
A plug-in interface definition class for halted OS helpers.
virtual lldb::StopInfoSP CreateThreadStopReason(Thread *thread)=0
A plug-in interface definition class for debugging a process.
This base class provides an interface to stack frames.
uint32_t GetConcreteFrameIndex() const
Query this frame to find what frame it is in this Thread's StackFrameList, not counting inlined frame...
void SetStopInfo(const lldb::StopInfoSP &stop_info_sp)
virtual void DestroyThread()
virtual void ClearStackFrames()
virtual Unwind & GetUnwinder()
lldb::ProcessSP GetProcess() const
lldb::RegisterContextSP m_reg_context_sp
The register context for this thread's current register state.
lldb::RegisterContextSP CreateRegisterContextForFrame(StackFrame *frame)
#define LLDB_INVALID_ADDRESS
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
StateType
Process and Thread States.
std::shared_ptr< lldb_private::Process > ProcessSP
std::shared_ptr< lldb_private::StopInfo > StopInfoSP
std::shared_ptr< lldb_private::RegisterContext > RegisterContextSP