LLDB  mainline
Public Member Functions | Static Public Member Functions | Friends | List of all members
lldb_private::process_darwin::NativeThreadDarwin Class Reference

#include <NativeThreadDarwin.h>

Inheritance diagram for lldb_private::process_darwin::NativeThreadDarwin:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::process_darwin::NativeThreadDarwin:
Collaboration graph
[legend]

Public Member Functions

 NativeThreadDarwin (NativeProcessDarwin *process, bool is_64_bit, lldb::tid_t unique_thread_id=0, ::thread_t mach_thread_port=0)
 
std::string GetName () override
 
lldb::StateType GetState () override
 
bool GetStopReason (ThreadStopInfo &stop_info, std::string &description) override
 
NativeRegisterContextSP GetRegisterContext () override
 
Status SetWatchpoint (lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) override
 
Status RemoveWatchpoint (lldb::addr_t addr) override
 
void Dump (Stream &stream) const
 
- Public Member Functions inherited from lldb_private::NativeThreadProtocol
 NativeThreadProtocol (NativeProcessProtocol &process, lldb::tid_t tid)
 
virtual ~NativeThreadProtocol ()
 
lldb::tid_t GetID () const
 
NativeProcessProtocolGetProcess ()
 
virtual Status SetHardwareBreakpoint (lldb::addr_t addr, size_t size)=0
 
virtual Status RemoveHardwareBreakpoint (lldb::addr_t addr)=0
 

Static Public Member Functions

static uint64_t GetGloballyUniqueThreadIDForMachPortID (::thread_t mach_port_id)
 

Friends

class NativeProcessDarwin
 
class NativeThreadListDarwin
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::NativeThreadProtocol
NativeProcessProtocolm_process
 
lldb::tid_t m_tid
 

Detailed Description

Definition at line 36 of file NativeThreadDarwin.h.

Constructor & Destructor Documentation

◆ NativeThreadDarwin()

NativeThreadDarwin::NativeThreadDarwin ( NativeProcessDarwin process,
bool  is_64_bit,
lldb::tid_t  unique_thread_id = 0,
::thread_t  mach_thread_port = 0 
)

Definition at line 39 of file NativeThreadDarwin.cpp.

References KERN_SUCCESS.

Member Function Documentation

◆ Dump()

void NativeThreadDarwin::Dump ( Stream stream) const

◆ GetGloballyUniqueThreadIDForMachPortID()

uint64_t NativeThreadDarwin::GetGloballyUniqueThreadIDForMachPortID ( ::thread_t  mach_port_id)
static

◆ GetName()

std::string NativeThreadDarwin::GetName ( )
overridevirtual

◆ GetRegisterContext()

NativeRegisterContextSP NativeThreadDarwin::GetRegisterContext ( )
overridevirtual

Implements lldb_private::NativeThreadProtocol.

Definition at line 91 of file NativeThreadDarwin.cpp.

◆ GetState()

lldb::StateType NativeThreadDarwin::GetState ( )
overridevirtual

Implements lldb_private::NativeThreadProtocol.

Definition at line 80 of file NativeThreadDarwin.cpp.

References lldb::eStateInvalid.

Referenced by Dump().

◆ GetStopReason()

bool NativeThreadDarwin::GetStopReason ( ThreadStopInfo stop_info,
std::string &  description 
)
overridevirtual

Implements lldb_private::NativeThreadProtocol.

Definition at line 85 of file NativeThreadDarwin.cpp.

◆ RemoveWatchpoint()

Status NativeThreadDarwin::RemoveWatchpoint ( lldb::addr_t  addr)
overridevirtual

◆ SetWatchpoint()

Status NativeThreadDarwin::SetWatchpoint ( lldb::addr_t  addr,
size_t  size,
uint32_t  watch_flags,
bool  hardware 
)
overridevirtual

Friends And Related Function Documentation

◆ NativeProcessDarwin

friend class NativeProcessDarwin
friend

Definition at line 37 of file NativeThreadDarwin.h.

◆ NativeThreadListDarwin

friend class NativeThreadListDarwin
friend

Definition at line 38 of file NativeThreadDarwin.h.


The documentation for this class was generated from the following files: