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
Collaboration diagram for lldb_private::process_darwin::NativeThreadDarwin:
Collaboration graph

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)


class NativeProcessDarwin
class NativeThreadListDarwin

Additional Inherited Members

- Protected Attributes inherited from lldb_private::NativeThreadProtocol
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)

◆ GetName()

std::string NativeThreadDarwin::GetName ( )

◆ GetRegisterContext()

NativeRegisterContextSP NativeThreadDarwin::GetRegisterContext ( )

Implements lldb_private::NativeThreadProtocol.

Definition at line 91 of file NativeThreadDarwin.cpp.

◆ GetState()

lldb::StateType NativeThreadDarwin::GetState ( )

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 

Implements lldb_private::NativeThreadProtocol.

Definition at line 85 of file NativeThreadDarwin.cpp.

◆ RemoveWatchpoint()

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

◆ SetWatchpoint()

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

Friends And Related Function Documentation

◆ NativeProcessDarwin

friend class NativeProcessDarwin

Definition at line 37 of file NativeThreadDarwin.h.

◆ NativeThreadListDarwin

friend class NativeThreadListDarwin

Definition at line 38 of file NativeThreadDarwin.h.

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