Go to the documentation of this file.
9 #ifndef liblldb_NativeThreadLinux_H_
10 #define liblldb_NativeThreadLinux_H_
17 #include "llvm/ADT/StringRef.h"
25 namespace process_linux {
27 class NativeProcessLinux;
48 bool hardware)
override;
60 llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
128 #endif // #ifndef liblldb_NativeThreadLinux_H_
void SetStoppedByVForkDone()
bool IsStopped(int *signo)
Return true if the thread is stopped.
Status Resume(uint32_t signo)
Resumes the thread.
void SetStoppedByProcessorTrace(llvm::StringRef description)
ThreadStopInfo m_stop_info
WatchpointIndexMap m_watchpoint_index_map
llvm::Expected< std::unique_ptr< llvm::MemoryBuffer > > GetSiginfo() const override
std::unique_ptr< SingleStepWorkaround > m_step_workaround
void SetStoppedByFork(bool is_vfork, lldb::pid_t child_pid)
Status RemoveHardwareBreakpoint(lldb::addr_t addr) override
std::string GetName() override
std::map< lldb::addr_t, uint32_t > WatchpointIndexMap
std::string m_stop_description
Status SingleStep(uint32_t signo)
Single steps the thread.
Status RemoveWatchpoint(lldb::addr_t addr) override
lldb::StateType GetState() override
void MaybeLogStateChange(lldb::StateType new_state)
bool IsStoppedAtBreakpoint()
Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) override
string(SUBSTRING ${p} 10 -1 pStripped) if($
Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override
WatchpointIndexMap m_hw_break_index_map
void SetStoppedByBreakpoint()
NativeProcessLinux & GetProcess()
void SetStoppedBySignal(uint32_t signo, const siginfo_t *info=nullptr)
NativeThreadLinux(NativeProcessLinux &process, lldb::tid_t tid)
void SetStoppedByWatchpoint(uint32_t wp_index)
void AnnotateSyncTagCheckFault(const siginfo_t *info)
Extend m_stop_description with logical and allocation tag values.
std::unique_ptr< NativeRegisterContextLinux > m_reg_context_up
void SetStoppedWithNoReason()
A class that represents a running process on the host machine.
NativeRegisterContextLinux & GetRegisterContext() override
StateType
Process and Thread States.
bool IsStoppedAtWatchpoint()
bool GetStopReason(ThreadStopInfo &stop_info, std::string &description) override