10 #ifndef LLDB_SBLaunchInfo_h_
11 #define LLDB_SBLaunchInfo_h_
26 lldb::pid_t GetProcessID();
30 uint32_t GetGroupID();
34 bool GroupIDIsValid();
36 void SetUserID(uint32_t uid);
38 void SetGroupID(uint32_t gid);
65 void SetExecutableFile(
SBFileSpec exe_file,
bool add_as_first_arg);
86 uint32_t GetNumArguments();
88 const char *GetArgumentAtIndex(uint32_t idx);
90 void SetArguments(
const char **argv,
bool append);
92 uint32_t GetNumEnvironmentEntries();
94 const char *GetEnvironmentEntryAtIndex(uint32_t idx);
96 void SetEnvironmentEntries(
const char **envp,
bool append);
100 const char *GetWorkingDirectory()
const;
102 void SetWorkingDirectory(
const char *working_dir);
104 uint32_t GetLaunchFlags();
106 void SetLaunchFlags(uint32_t flags);
108 const char *GetProcessPluginName();
110 void SetProcessPluginName(
const char *plugin_name);
112 const char *GetShell();
114 void SetShell(
const char *path);
116 bool GetShellExpandArguments();
118 void SetShellExpandArguments(
bool expand);
120 uint32_t GetResumeCount();
122 void SetResumeCount(uint32_t c);
124 bool AddCloseFileAction(
int fd);
126 bool AddDuplicateFileAction(
int fd,
int dup_fd);
128 bool AddOpenFileAction(
int fd,
const char *path,
bool read,
bool write);
130 bool AddSuppressFileAction(
int fd,
bool read,
bool write);
132 void SetLaunchEventData(
const char *data);
134 const char *GetLaunchEventData()
const;
136 bool GetDetachOnError()
const;
138 void SetDetachOnError(
bool enable);
144 lldb_private::ProcessLaunchInfo &ref();
146 const lldb_private::ProcessLaunchInfo &ref()
const;
153 #endif // LLDB_SBLaunchInfo_h_
class LLDB_API SBLaunchInfo
ProcessLaunchInfoSP m_opaque_sp