#include <SBLaunchInfo.h>
|
lldb_private::ProcessLaunchInfo & | ref () |
|
const
lldb_private::ProcessLaunchInfo & | ref () const |
|
Definition at line 20 of file SBLaunchInfo.h.
lldb::SBLaunchInfo::SBLaunchInfo |
( |
const char ** |
argv | ) |
|
lldb::SBLaunchInfo::~SBLaunchInfo |
( |
| ) |
|
bool lldb::SBLaunchInfo::AddCloseFileAction |
( |
int |
fd | ) |
|
bool lldb::SBLaunchInfo::AddDuplicateFileAction |
( |
int |
fd, |
|
|
int |
dup_fd |
|
) |
| |
bool lldb::SBLaunchInfo::AddOpenFileAction |
( |
int |
fd, |
|
|
const char * |
path, |
|
|
bool |
read, |
|
|
bool |
write |
|
) |
| |
bool lldb::SBLaunchInfo::AddSuppressFileAction |
( |
int |
fd, |
|
|
bool |
read, |
|
|
bool |
write |
|
) |
| |
void lldb::SBLaunchInfo::Clear |
( |
| ) |
|
const char* lldb::SBLaunchInfo::GetArgumentAtIndex |
( |
uint32_t |
idx | ) |
|
bool lldb::SBLaunchInfo::GetDetachOnError |
( |
| ) |
const |
const char* lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex |
( |
uint32_t |
idx | ) |
|
SBFileSpec lldb::SBLaunchInfo::GetExecutableFile |
( |
| ) |
|
uint32_t lldb::SBLaunchInfo::GetGroupID |
( |
| ) |
|
const char* lldb::SBLaunchInfo::GetLaunchEventData |
( |
| ) |
const |
uint32_t lldb::SBLaunchInfo::GetLaunchFlags |
( |
| ) |
|
Get the listener that will be used to receive process events.
If no listener has been set via a call to SBLaunchInfo::SetListener(), then an invalid SBListener will be returned (SBListener::IsValid() will return false). If a listener has been set, then the valid listener object will be returned.
uint32_t lldb::SBLaunchInfo::GetNumArguments |
( |
| ) |
|
uint32_t lldb::SBLaunchInfo::GetNumEnvironmentEntries |
( |
| ) |
|
lldb::pid_t lldb::SBLaunchInfo::GetProcessID |
( |
| ) |
|
const char* lldb::SBLaunchInfo::GetProcessPluginName |
( |
| ) |
|
uint32_t lldb::SBLaunchInfo::GetResumeCount |
( |
| ) |
|
const char* lldb::SBLaunchInfo::GetShell |
( |
| ) |
|
bool lldb::SBLaunchInfo::GetShellExpandArguments |
( |
| ) |
|
uint32_t lldb::SBLaunchInfo::GetUserID |
( |
| ) |
|
const char* lldb::SBLaunchInfo::GetWorkingDirectory |
( |
| ) |
const |
bool lldb::SBLaunchInfo::GroupIDIsValid |
( |
| ) |
|
lldb_private::ProcessLaunchInfo& lldb::SBLaunchInfo::ref |
( |
| ) |
|
|
protected |
const lldb_private::ProcessLaunchInfo& lldb::SBLaunchInfo::ref |
( |
| ) |
const |
|
protected |
void lldb::SBLaunchInfo::SetArguments |
( |
const char ** |
argv, |
|
|
bool |
append |
|
) |
| |
void lldb::SBLaunchInfo::SetDetachOnError |
( |
bool |
enable | ) |
|
void lldb::SBLaunchInfo::SetEnvironmentEntries |
( |
const char ** |
envp, |
|
|
bool |
append |
|
) |
| |
void lldb::SBLaunchInfo::SetExecutableFile |
( |
SBFileSpec |
exe_file, |
|
|
bool |
add_as_first_arg |
|
) |
| |
Set the executable file that will be used to launch the process and optionally set it as the first argument in the argument vector.
This only needs to be specified if clients wish to carefully control the exact path will be used to launch a binary. If you create a target with a symlink, that symlink will get resolved in the target and the resolved path will get used to launch the process. Calling this function can help you still launch your process using the path of your choice.
If this function is not called prior to launching with SBTarget::Launch(...), the target will use the resolved executable path that was used to create the target.
- Parameters
-
[in] | exe_file | The override path to use when launching the executable. |
[in] | add_as_first_arg | If true, then the path will be inserted into the argument vector prior to launching. Otherwise the argument vector will be left alone. |
void lldb::SBLaunchInfo::SetGroupID |
( |
uint32_t |
gid | ) |
|
void lldb::SBLaunchInfo::SetLaunchEventData |
( |
const char * |
data | ) |
|
void lldb::SBLaunchInfo::SetLaunchFlags |
( |
uint32_t |
flags | ) |
|
void lldb::SBLaunchInfo::SetListener |
( |
SBListener & |
listener | ) |
|
Set the listener that will be used to receive process events.
By default the SBDebugger, which has a listener, that the SBTarget belongs to will listen for the process events. Calling this function allows a different listener to be used to listen for process events.
void lldb::SBLaunchInfo::SetProcessPluginName |
( |
const char * |
plugin_name | ) |
|
void lldb::SBLaunchInfo::SetResumeCount |
( |
uint32_t |
c | ) |
|
void lldb::SBLaunchInfo::SetShell |
( |
const char * |
path | ) |
|
void lldb::SBLaunchInfo::SetShellExpandArguments |
( |
bool |
expand | ) |
|
void lldb::SBLaunchInfo::SetUserID |
( |
uint32_t |
uid | ) |
|
void lldb::SBLaunchInfo::SetWorkingDirectory |
( |
const char * |
working_dir | ) |
|
bool lldb::SBLaunchInfo::UserIDIsValid |
( |
| ) |
|
ProcessLaunchInfoSP lldb::SBLaunchInfo::m_opaque_sp |
|
protected |
The documentation for this class was generated from the following file: