LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::ProcessAttachInfo Class Reference

#include <Process.h>

Inheritance diagram for lldb_private::ProcessAttachInfo:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ProcessAttachInfo:
Collaboration graph
[legend]

Public Member Functions

 ProcessAttachInfo ()
 
 ProcessAttachInfo (const ProcessLaunchInfo &launch_info)
 
bool GetWaitForLaunch () const
 
void SetWaitForLaunch (bool b)
 
bool GetAsync () const
 
void SetAsync (bool b)
 
bool GetIgnoreExisting () const
 
void SetIgnoreExisting (bool b)
 
bool GetContinueOnceAttached () const
 
void SetContinueOnceAttached (bool b)
 
uint32_t GetResumeCount () const
 
void SetResumeCount (uint32_t c)
 
const char * GetProcessPluginName () const
 
void SetProcessPluginName (llvm::StringRef plugin)
 
void Clear ()
 
bool ProcessInfoSpecified () const
 
lldb::ListenerSP GetHijackListener () const
 
void SetHijackListener (const lldb::ListenerSP &listener_sp)
 
bool GetDetachOnError () const
 
void SetDetachOnError (bool enable)
 
lldb::ListenerSP GetListener () const
 
void SetListener (const lldb::ListenerSP &listener_sp)
 
lldb::ListenerSP GetListenerForProcess (Debugger &debugger)
 
- Public Member Functions inherited from lldb_private::ProcessInstanceInfo
 ProcessInstanceInfo ()
 
 ProcessInstanceInfo (const char *name, const ArchSpec &arch, lldb::pid_t pid)
 
void Clear ()
 
uint32_t GetEffectiveUserID () const
 
uint32_t GetEffectiveGroupID () const
 
bool EffectiveUserIDIsValid () const
 
bool EffectiveGroupIDIsValid () const
 
void SetEffectiveUserID (uint32_t uid)
 
void SetEffectiveGroupID (uint32_t gid)
 
lldb::pid_t GetParentProcessID () const
 
void SetParentProcessID (lldb::pid_t pid)
 
bool ParentProcessIDIsValid () const
 
void Dump (Stream &s, UserIDResolver &resolver) const
 
void DumpAsTableRow (Stream &s, UserIDResolver &resolver, bool show_args, bool verbose) const
 
- Public Member Functions inherited from lldb_private::ProcessInfo
 ProcessInfo ()
 
 ProcessInfo (const char *name, const ArchSpec &arch, lldb::pid_t pid)
 
void Clear ()
 
const char * GetName () const
 
llvm::StringRef GetNameAsStringRef () const
 
FileSpecGetExecutableFile ()
 
void SetExecutableFile (const FileSpec &exe_file, bool add_exe_file_as_first_arg)
 
const FileSpecGetExecutableFile () const
 
uint32_t GetUserID () const
 
uint32_t GetGroupID () const
 
bool UserIDIsValid () const
 
bool GroupIDIsValid () const
 
void SetUserID (uint32_t uid)
 
void SetGroupID (uint32_t gid)
 
ArchSpecGetArchitecture ()
 
const ArchSpecGetArchitecture () const
 
void SetArchitecture (const ArchSpec &arch)
 
lldb::pid_t GetProcessID () const
 
void SetProcessID (lldb::pid_t pid)
 
bool ProcessIDIsValid () const
 
void Dump (Stream &s, Platform *platform) const
 
ArgsGetArguments ()
 
const ArgsGetArguments () const
 
llvm::StringRef GetArg0 () const
 
void SetArg0 (llvm::StringRef arg)
 
void SetArguments (const Args &args, bool first_arg_is_executable)
 
void SetArguments (char const **argv, bool first_arg_is_executable)
 
EnvironmentGetEnvironment ()
 
const EnvironmentGetEnvironment () const
 

Protected Attributes

lldb::ListenerSP m_listener_sp
 
lldb::ListenerSP m_hijack_listener_sp
 
std::string m_plugin_name
 
uint32_t m_resume_count = 0
 
bool m_wait_for_launch = false
 
bool m_ignore_existing = true
 
bool m_continue_once_attached = false
 
bool m_detach_on_error
 
bool m_async
 
- Protected Attributes inherited from lldb_private::ProcessInstanceInfo
uint32_t m_euid = UINT32_MAX
 
uint32_t m_egid = UINT32_MAX
 
lldb::pid_t m_parent_pid = LLDB_INVALID_PROCESS_ID
 
- Protected Attributes inherited from lldb_private::ProcessInfo
FileSpec m_executable
 
std::string m_arg0
 
Args m_arguments
 
Environment m_environment
 
uint32_t m_uid = UINT32_MAX
 
uint32_t m_gid = UINT32_MAX
 
ArchSpec m_arch
 
lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::ProcessInstanceInfo
static void DumpTableHeader (Stream &s, bool show_args, bool verbose)
 

Detailed Description

Definition at line 114 of file Process.h.

Constructor & Destructor Documentation

◆ ProcessAttachInfo() [1/2]

lldb_private::ProcessAttachInfo::ProcessAttachInfo ( )
inline

Definition at line 116 of file Process.h.

◆ ProcessAttachInfo() [2/2]

lldb_private::ProcessAttachInfo::ProcessAttachInfo ( const ProcessLaunchInfo launch_info)
inline

Member Function Documentation

◆ Clear()

void lldb_private::ProcessAttachInfo::Clear ( )
inline

◆ GetAsync()

bool lldb_private::ProcessAttachInfo::GetAsync ( ) const
inline

Definition at line 137 of file Process.h.

References m_async.

Referenced by lldb_private::Target::Attach().

◆ GetContinueOnceAttached()

bool lldb_private::ProcessAttachInfo::GetContinueOnceAttached ( ) const
inline

Definition at line 145 of file Process.h.

References m_continue_once_attached.

Referenced by lldb_private::ProcessDebugger::AttachProcess().

◆ GetDetachOnError()

bool lldb_private::ProcessAttachInfo::GetDetachOnError ( ) const
inline

◆ GetHijackListener()

lldb::ListenerSP lldb_private::ProcessAttachInfo::GetHijackListener ( ) const
inline

◆ GetIgnoreExisting()

bool lldb_private::ProcessAttachInfo::GetIgnoreExisting ( ) const
inline

◆ GetListener()

lldb::ListenerSP lldb_private::ProcessAttachInfo::GetListener ( ) const
inline

Definition at line 191 of file Process.h.

References m_listener_sp.

◆ GetListenerForProcess()

ListenerSP ProcessAttachInfo::GetListenerForProcess ( Debugger debugger)

◆ GetProcessPluginName()

const char* lldb_private::ProcessAttachInfo::GetProcessPluginName ( ) const
inline

Definition at line 153 of file Process.h.

References m_plugin_name.

Referenced by lldb_private::PlatformWindows::Attach(), and lldb_private::Target::Attach().

◆ GetResumeCount()

uint32_t lldb_private::ProcessAttachInfo::GetResumeCount ( ) const
inline

Definition at line 149 of file Process.h.

References m_resume_count.

Referenced by lldb_private::Process::Attach().

◆ GetWaitForLaunch()

bool lldb_private::ProcessAttachInfo::GetWaitForLaunch ( ) const
inline

◆ ProcessInfoSpecified()

bool lldb_private::ProcessAttachInfo::ProcessInfoSpecified ( ) const
inline

◆ SetAsync()

void lldb_private::ProcessAttachInfo::SetAsync ( bool  b)
inline

Definition at line 139 of file Process.h.

References m_async.

◆ SetContinueOnceAttached()

void lldb_private::ProcessAttachInfo::SetContinueOnceAttached ( bool  b)
inline

Definition at line 147 of file Process.h.

References m_continue_once_attached.

◆ SetDetachOnError()

void lldb_private::ProcessAttachInfo::SetDetachOnError ( bool  enable)
inline

Definition at line 188 of file Process.h.

References m_detach_on_error.

◆ SetHijackListener()

void lldb_private::ProcessAttachInfo::SetHijackListener ( const lldb::ListenerSP &  listener_sp)
inline

◆ SetIgnoreExisting()

void lldb_private::ProcessAttachInfo::SetIgnoreExisting ( bool  b)
inline

Definition at line 143 of file Process.h.

References m_ignore_existing.

◆ SetListener()

void lldb_private::ProcessAttachInfo::SetListener ( const lldb::ListenerSP &  listener_sp)
inline

◆ SetProcessPluginName()

void lldb_private::ProcessAttachInfo::SetProcessPluginName ( llvm::StringRef  plugin)
inline

Definition at line 157 of file Process.h.

References m_plugin_name, and string().

Referenced by ProcessAttachInfo().

◆ SetResumeCount()

void lldb_private::ProcessAttachInfo::SetResumeCount ( uint32_t  c)
inline

Definition at line 151 of file Process.h.

References m_resume_count.

Referenced by ProcessAttachInfo().

◆ SetWaitForLaunch()

void lldb_private::ProcessAttachInfo::SetWaitForLaunch ( bool  b)
inline

Definition at line 135 of file Process.h.

References m_wait_for_launch.

Referenced by lldb::SBTarget::AttachToProcessWithName().

Member Data Documentation

◆ m_async

bool lldb_private::ProcessAttachInfo::m_async
protected
Initial value:
=
false

Definition at line 212 of file Process.h.

Referenced by GetAsync(), and SetAsync().

◆ m_continue_once_attached

bool lldb_private::ProcessAttachInfo::m_continue_once_attached = false
protected

Definition at line 206 of file Process.h.

Referenced by Clear(), GetContinueOnceAttached(), and SetContinueOnceAttached().

◆ m_detach_on_error

bool lldb_private::ProcessAttachInfo::m_detach_on_error
protected
Initial value:
=
true

Definition at line 209 of file Process.h.

Referenced by GetDetachOnError(), ProcessAttachInfo(), and SetDetachOnError().

◆ m_hijack_listener_sp

lldb::ListenerSP lldb_private::ProcessAttachInfo::m_hijack_listener_sp
protected

Definition at line 201 of file Process.h.

Referenced by GetHijackListener(), and SetHijackListener().

◆ m_ignore_existing

bool lldb_private::ProcessAttachInfo::m_ignore_existing = true
protected

Definition at line 205 of file Process.h.

Referenced by Clear(), GetIgnoreExisting(), and SetIgnoreExisting().

◆ m_listener_sp

lldb::ListenerSP lldb_private::ProcessAttachInfo::m_listener_sp
protected

Definition at line 200 of file Process.h.

Referenced by GetListener(), and SetListener().

◆ m_plugin_name

std::string lldb_private::ProcessAttachInfo::m_plugin_name
protected

Definition at line 202 of file Process.h.

Referenced by Clear(), GetProcessPluginName(), and SetProcessPluginName().

◆ m_resume_count

uint32_t lldb_private::ProcessAttachInfo::m_resume_count = 0
protected

Definition at line 203 of file Process.h.

Referenced by Clear(), GetResumeCount(), and SetResumeCount().

◆ m_wait_for_launch

bool lldb_private::ProcessAttachInfo::m_wait_for_launch = false
protected

Definition at line 204 of file Process.h.

Referenced by Clear(), GetWaitForLaunch(), and SetWaitForLaunch().


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