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
 
size_t GetNameLength () 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
 
bool m_wait_for_launch
 
bool m_ignore_existing
 
bool m_continue_once_attached
 
bool m_detach_on_error
 
bool m_async
 
- Protected Attributes inherited from lldb_private::ProcessInstanceInfo
uint32_t m_euid
 
uint32_t m_egid
 
lldb::pid_t m_parent_pid
 
- 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_t m_gid
 
ArchSpec m_arch
 
lldb::pid_t m_pid
 

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 99 of file Process.h.

Constructor & Destructor Documentation

◆ ProcessAttachInfo() [1/2]

lldb_private::ProcessAttachInfo::ProcessAttachInfo ( )
inline

Definition at line 101 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

Definition at line 146 of file Process.h.

References lldb_private::ProcessInstanceInfo::Clear().

◆ GetAsync()

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

Definition at line 124 of file Process.h.

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

◆ GetContinueOnceAttached()

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

Definition at line 132 of file Process.h.

Referenced by lldb_private::ProcessWindows::DoAttachToProcessWithID().

◆ 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 176 of file Process.h.

◆ GetListenerForProcess()

ListenerSP ProcessAttachInfo::GetListenerForProcess ( Debugger debugger)

◆ GetProcessPluginName()

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

◆ GetResumeCount()

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

Definition at line 136 of file Process.h.

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

◆ GetWaitForLaunch()

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

◆ ProcessInfoSpecified()

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

Definition at line 155 of file Process.h.

References LLDB_INVALID_PROCESS_ID.

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

◆ SetAsync()

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

Definition at line 126 of file Process.h.

◆ SetContinueOnceAttached()

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

Definition at line 134 of file Process.h.

◆ SetDetachOnError()

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

Definition at line 173 of file Process.h.

◆ SetHijackListener()

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

Definition at line 167 of file Process.h.

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

◆ SetIgnoreExisting()

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

Definition at line 130 of file Process.h.

◆ 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 144 of file Process.h.

◆ SetResumeCount()

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

Definition at line 138 of file Process.h.

◆ SetWaitForLaunch()

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

Definition at line 122 of file Process.h.

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

Member Data Documentation

◆ m_async

bool lldb_private::ProcessAttachInfo::m_async
protected

Definition at line 196 of file Process.h.

◆ m_continue_once_attached

bool lldb_private::ProcessAttachInfo::m_continue_once_attached
protected

Definition at line 191 of file Process.h.

◆ m_detach_on_error

bool lldb_private::ProcessAttachInfo::m_detach_on_error
protected

Definition at line 194 of file Process.h.

◆ m_hijack_listener_sp

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

Definition at line 186 of file Process.h.

◆ m_ignore_existing

bool lldb_private::ProcessAttachInfo::m_ignore_existing
protected

Definition at line 190 of file Process.h.

◆ m_listener_sp

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

Definition at line 185 of file Process.h.

◆ m_plugin_name

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

Definition at line 187 of file Process.h.

◆ m_resume_count

uint32_t lldb_private::ProcessAttachInfo::m_resume_count
protected

Definition at line 188 of file Process.h.

◆ m_wait_for_launch

bool lldb_private::ProcessAttachInfo::m_wait_for_launch
protected

Definition at line 189 of file Process.h.


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