29#include "llvm/ADT/SmallString.h"
37 if (permissions.size() != 9)
39 bool user_r, user_w, user_x, group_r, group_w, group_x, world_r, world_w,
42 user_r = (permissions[0] ==
'r');
43 user_w = (permissions[1] ==
'w');
44 user_x = (permissions[2] ==
'x');
46 group_r = (permissions[3] ==
'r');
47 group_w = (permissions[4] ==
'w');
48 group_x = (permissions[5] ==
'x');
50 world_r = (permissions[6] ==
'r');
51 world_w = (permissions[7] ==
'w');
52 world_x = (permissions[8] ==
'x');
54 mode_t user, group, world;
55 user = (user_r ? 4 : 0) | (user_w ? 2 : 0) | (user_x ? 1 : 0);
56 group = (group_r ? 4 : 0) | (group_w ? 2 : 0) | (group_x ? 1 : 0);
57 world = (world_r ? 4 : 0) | (world_w ? 2 : 0) | (world_x ? 1 : 0);
59 return user | group | world;
62#define LLDB_OPTIONS_permissions
63#include "CommandOptions.inc"
75 char short_option = (char)
GetDefinitions()[option_idx].short_option;
76 switch (short_option) {
80 error.SetErrorStringWithFormat(
"invalid value for permissions: %s",
81 option_arg.str().c_str());
87 if (perms == (mode_t)-1)
88 error.SetErrorStringWithFormat(
"invalid value for permissions: %s",
89 option_arg.str().c_str());
121 llvm_unreachable(
"Unimplemented option");
132 return llvm::ArrayRef(g_permissions_options);
149 "Create a platform if needed and select it as the "
151 "platform select <platform-name>", 0),
174 if (platform_name && platform_name[0]) {
175 const bool select =
true;
194 "platform create takes a platform name as an argument\n");
208 "List all platforms that are available.", nullptr,
216 ostrm.
Printf(
"Available platforms:\n");
219 ostrm.
Format(
"{0}: {1}\n", host_platform_sp->GetPluginName(),
220 host_platform_sp->GetDescription());
223 for (idx = 0;
true; ++idx) {
224 llvm::StringRef plugin_name =
226 if (plugin_name.empty())
228 llvm::StringRef plugin_desc =
230 ostrm.
Format(
"{0}: {1}\n", plugin_name, plugin_desc);
234 result.
AppendError(
"no platforms are available\n");
246 "Display status for the current platform.", nullptr,
256 PlatformSP platform_sp;
264 platform_sp->GetStatus(ostrm);
267 result.
AppendError(
"no platform is currently selected\n");
278 interpreter,
"platform connect",
279 "Select the current platform by providing a connection URL.",
280 "platform connect <connect-url>", 0) {
291 PlatformSP platform_sp(
292 GetDebugger().GetPlatformList().GetSelectedPlatform());
295 if (
error.Success()) {
296 platform_sp->GetStatus(ostrm);
307 result.
AppendError(
"no platform is currently selected\n");
313 PlatformSP platform_sp(
314 GetDebugger().GetPlatformList().GetSelectedPlatform());
317 m_platform_options = platform_sp->GetConnectionOptions(
m_interpreter);
318 if (m_platform_options !=
nullptr && !m_platform_options->
m_did_finalize)
321 return m_platform_options;
330 "Disconnect from the current platform.",
331 "platform disconnect", 0) {}
337 PlatformSP platform_sp(
338 GetDebugger().GetPlatformList().GetSelectedPlatform());
343 if (platform_sp->IsConnected()) {
346 const char *hostname_cstr = platform_sp->GetHostname();
347 std::string hostname;
349 hostname.assign(hostname_cstr);
351 error = platform_sp->DisconnectRemote();
352 if (
error.Success()) {
354 if (hostname.empty())
355 ostrm.
Format(
"Disconnected from \"{0}\"\n",
356 platform_sp->GetPluginName());
358 ostrm.
Printf(
"Disconnected from \"%s\"\n", hostname.c_str());
366 platform_sp->GetPluginName());
371 "\"platform disconnect\" doesn't take any arguments");
374 result.
AppendError(
"no platform is currently selected");
385 "Set settings for the current target's platform.",
386 "platform settings", 0),
390 "The working directory for the platform.") {
398 PlatformSP platform_sp(
399 GetDebugger().GetPlatformList().GetSelectedPlatform());
402 platform_sp->SetWorkingDirectory(
405 result.
AppendError(
"no platform is currently selected");
425 "Make a new directory on the remote end.", nullptr,
434 PlatformSP platform_sp(
435 GetDebugger().GetPlatformList().GetSelectedPlatform());
437 std::string cmd_line;
442 if (options_permissions)
445 mode = lldb::eFilePermissionsUserRWX | lldb::eFilePermissionsGroupRWX |
446 lldb::eFilePermissionsWorldRX;
448 if (
error.Success()) {
454 result.
AppendError(
"no platform currently selected\n");
476 "Open a file on the remote end.", nullptr, 0) {
493 PlatformSP platform_sp(
494 GetDebugger().GetPlatformList().GetSelectedPlatform());
497 std::string cmd_line;
502 if (options_permissions)
505 perms = lldb::eFilePermissionsUserRW | lldb::eFilePermissionsGroupRW |
506 lldb::eFilePermissionsWorldRead;
511 if (
error.Success()) {
518 result.
AppendError(
"no platform currently selected\n");
540 "Close a file on the remote end.", nullptr, 0) {
548 PlatformSP platform_sp(
549 GetDebugger().GetPlatformList().GetSelectedPlatform());
551 std::string cmd_line;
554 if (!llvm::to_integer(cmd_line, fd)) {
560 bool success = platform_sp->CloseFile(fd,
error);
568 result.
AppendError(
"no platform currently selected\n");
576#define LLDB_OPTIONS_platform_fread
577#include "CommandOptions.inc"
583 "Read data from a file on the remote end.", nullptr,
592 PlatformSP platform_sp(
593 GetDebugger().GetPlatformList().GetSelectedPlatform());
595 std::string cmd_line;
598 if (!llvm::to_integer(cmd_line, fd)) {
605 uint64_t retcode = platform_sp->ReadFile(
615 result.
AppendError(
"no platform currently selected\n");
634 switch (short_option) {
636 if (option_arg.getAsInteger(0,
m_offset))
637 error.SetErrorStringWithFormat(
"invalid offset: '%s'",
638 option_arg.str().c_str());
641 if (option_arg.getAsInteger(0,
m_count))
642 error.SetErrorStringWithFormat(
"invalid offset: '%s'",
643 option_arg.str().c_str());
646 llvm_unreachable(
"Unimplemented option");
658 return llvm::ArrayRef(g_platform_fread_options);
672#define LLDB_OPTIONS_platform_fwrite
673#include "CommandOptions.inc"
679 "Write data to a file on the remote end.", nullptr,
688 PlatformSP platform_sp(
689 GetDebugger().GetPlatformList().GetSelectedPlatform());
691 std::string cmd_line;
695 if (!llvm::to_integer(cmd_line, fd)) {
710 result.
AppendError(
"no platform currently selected\n");
729 switch (short_option) {
731 if (option_arg.getAsInteger(0,
m_offset))
732 error.SetErrorStringWithFormat(
"invalid offset: '%s'",
733 option_arg.str().c_str());
736 m_data.assign(std::string(option_arg));
739 llvm_unreachable(
"Unimplemented option");
751 return llvm::ArrayRef(g_platform_fwrite_options);
768 interpreter,
"platform file",
769 "Commands to access files on the current platform.",
770 "platform file [open|close|read|write] ...") {
795 interpreter,
"platform get-file",
796 "Transfer a file from the remote end to the local host.",
797 "platform get-file <remote-file-spec> <local-file-spec>", 0) {
801(lldb) platform get-file /the/remote/file/path /the/local/file/path
803 Transfer a file from the remote end with file path /the/remote/file/path to the local host.)");
813 arg1.push_back(file_arg_remote);
820 arg2.push_back(file_arg_host);
846 result.
AppendError(
"required arguments missing; specify both the "
847 "source and destination file paths");
851 PlatformSP platform_sp(
852 GetDebugger().GetPlatformList().GetSelectedPlatform());
858 if (
error.Success()) {
860 "successfully get-file from %s (remote) to %s (host)\n",
861 remote_file_path, local_file_path);
868 result.
AppendError(
"no platform currently selected\n");
879 "Get the file size from the remote end.",
880 "platform get-size <remote-file-spec>", 0) {
884(lldb) platform get-size /the/remote/file/path
886 Get the file size from the remote end with path /the/remote/file/path.)");
896 arg1.push_back(file_arg_remote);
918 result.
AppendError(
"required argument missing; specify the source file "
919 "path as the only argument");
923 PlatformSP platform_sp(
924 GetDebugger().GetPlatformList().GetSelectedPlatform());
931 remote_file_path.c_str(), size);
935 "Error getting file size of %s (remote)\n",
936 remote_file_path.c_str());
939 result.
AppendError(
"no platform currently selected\n");
950 "Get the file permission bits from the remote end.",
951 "platform get-permissions <remote-file-spec>", 0) {
955(lldb) platform get-permissions /the/remote/file/path
957 Get the file permissions from the remote end with path /the/remote/file/path.)");
967 arg1.push_back(file_arg_remote);
989 result.
AppendError(
"required argument missing; specify the source file "
990 "path as the only argument");
994 PlatformSP platform_sp(
995 GetDebugger().GetPlatformList().GetSelectedPlatform());
1001 if (
error.Success()) {
1003 "File permissions of %s (remote): 0o%04" PRIo32
"\n",
1004 remote_file_path.c_str(), permissions);
1009 result.
AppendError(
"no platform currently selected\n");
1020 "Check if the file exists on the remote end.",
1021 "platform file-exists <remote-file-spec>", 0) {
1025(lldb) platform file-exists /the/remote/file/path
1027 Check if /the/remote/file/path exists on the remote end.)");
1037 arg1.push_back(file_arg_remote);
1059 result.
AppendError(
"required argument missing; specify the source file "
1060 "path as the only argument");
1064 PlatformSP platform_sp(
1065 GetDebugger().GetPlatformList().GetSelectedPlatform());
1068 bool exists = platform_sp->GetFileExists(
FileSpec(remote_file_path));
1070 "File %s (remote) %s\n",
1071 remote_file_path.c_str(), exists ?
"exists" :
"does not exist");
1074 result.
AppendError(
"no platform currently selected\n");
1085 interpreter,
"platform put-file",
1086 "Transfer a file from this system to the remote end.",
1087 "platform put-file <source> [<destination>]", 0) {
1091(lldb) platform put-file /source/foo.txt /destination/bar.txt
1093(lldb) platform put-file /source/foo.txt
1095 Relative source file paths are resolved against lldb's local working directory.
1097 Omitting the destination places the file in the platform working directory.)");
1125 FileSpec dst_fs(dst ? dst : src_fs.GetFilename().GetCString());
1127 PlatformSP platform_sp(
1128 GetDebugger().GetPlatformList().GetSelectedPlatform());
1130 Status error(platform_sp->PutFile(src_fs, dst_fs));
1131 if (
error.Success()) {
1137 result.
AppendError(
"no platform currently selected\n");
1148 "Launch a new process on a remote platform.",
1149 "platform process launch program",
1150 eCommandRequiresTarget | eCommandTryTargetAPILock),
1167 PlatformSP platform_sp;
1182 llvm::SmallString<128> exe_path;
1184 if (!exe_path.empty())
1191 ScriptedMetadataSP metadata_sp = std::make_shared<ScriptedMetadata>(
1205 const bool first_arg_is_executable =
true;
1216 ProcessSP process_sp(platform_sp->DebugProcess(
1218 if (process_sp && process_sp->IsAlive()) {
1223 if (
error.Success())
1228 result.
AppendError(
"'platform process launch' uses the current target "
1229 "file and arguments, or the executable and its "
1230 "arguments can be specified in this command");
1247#define LLDB_OPTIONS_platform_process_list
1248#include "CommandOptions.inc"
1254 "List processes on a remote platform by name, pid, "
1255 "or many other matching attributes.",
1256 "platform process list", 0) {}
1265 PlatformSP platform_sp;
1281 if (platform_sp->GetProcessInfo(pid, proc_info)) {
1284 proc_info.
DumpAsTableRow(ostrm, platform_sp->GetUserIDResolver(),
1289 "no process found with pid = %" PRIu64
"\n", pid);
1295 const char *match_desc =
nullptr;
1296 const char *match_name =
1298 if (match_name && match_name[0]) {
1300 case NameMatch::Ignore:
1302 case NameMatch::Equals:
1303 match_desc =
"matched";
1305 case NameMatch::Contains:
1306 match_desc =
"contained";
1308 case NameMatch::StartsWith:
1309 match_desc =
"started with";
1311 case NameMatch::EndsWith:
1312 match_desc =
"ended with";
1314 case NameMatch::RegularExpression:
1315 match_desc =
"matched the regular expression";
1323 "no processes were found that {0} \"{1}\" on the \"{2}\" "
1325 match_desc, match_name, platform_sp->GetName());
1328 "no processes were found on the \"{0}\" platform\n",
1329 platform_sp->GetName());
1332 "{0} matching process{1} found on \"{2}\"", matches,
1333 matches > 1 ?
"es were" :
" was", platform_sp->GetName());
1336 match_desc, match_name);
1340 for (
uint32_t i = 0; i < matches; ++i) {
1341 proc_infos[i].DumpAsTableRow(
1364 bool success =
false;
1367 success = !option_arg.getAsInteger(0,
id);
1368 switch (short_option) {
1372 error.SetErrorStringWithFormat(
"invalid process ID string: '%s'",
1373 option_arg.str().c_str());
1379 error.SetErrorStringWithFormat(
1380 "invalid parent process ID string: '%s'",
1381 option_arg.str().c_str());
1387 error.SetErrorStringWithFormat(
"invalid user ID string: '%s'",
1388 option_arg.str().c_str());
1395 error.SetErrorStringWithFormat(
1396 "invalid effective user ID string: '%s'",
1397 option_arg.str().c_str());
1403 error.SetErrorStringWithFormat(
"invalid group ID string: '%s'",
1404 option_arg.str().c_str());
1411 error.SetErrorStringWithFormat(
1412 "invalid effective group ID string: '%s'",
1413 option_arg.str().c_str());
1417 TargetSP target_sp =
1418 execution_context ? execution_context->
GetTargetSP() : TargetSP();
1419 DebuggerSP debugger_sp =
1420 target_sp ? target_sp->GetDebugger().shared_from_this()
1422 PlatformSP platform_sp =
1423 debugger_sp ? debugger_sp->GetPlatformList().GetSelectedPlatform()
1431 option_arg, FileSpec::Style::native);
1437 option_arg, FileSpec::Style::native);
1443 option_arg, FileSpec::Style::native);
1449 option_arg, FileSpec::Style::native);
1455 option_arg, FileSpec::Style::native);
1472 llvm_unreachable(
"Unimplemented option");
1485 return llvm::ArrayRef(g_platform_process_list_options);
1503 interpreter,
"platform process info",
1504 "Get detailed information for one or more process by process ID.",
1505 "platform process info <pid> [<pid> <pid> ...]", 0) {
1515 arg.push_back(pid_args);
1534 PlatformSP platform_sp;
1547 if (platform_sp->IsConnected()) {
1549 for (
auto &entry : args.
entries()) {
1551 if (entry.ref().getAsInteger(0, pid)) {
1553 entry.ref().str().c_str());
1557 if (platform_sp->GetProcessInfo(pid, proc_info)) {
1558 ostrm.
Printf(
"Process information for process %" PRIu64
":\n",
1560 proc_info.
Dump(ostrm, platform_sp->GetUserIDResolver());
1562 ostrm.
Printf(
"error: no process information is available for "
1563 "process %" PRIu64
"\n",
1572 platform_sp->GetPluginName());
1576 result.
AppendError(
"one or more process id(s) must be specified");
1579 result.
AppendError(
"no platform is currently selected");
1585#define LLDB_OPTIONS_platform_process_attach
1586#include "CommandOptions.inc"
1592 "Attach to a process.",
1593 "platform process attach <cmd-options>"),
1604 PlatformSP platform_sp(
1605 GetDebugger().GetPlatformList().GetSelectedPlatform());
1610 ScriptedMetadataSP metadata_sp = std::make_shared<ScriptedMetadata>(
1616 ProcessSP remote_process_sp = platform_sp->Attach(
1620 }
else if (!remote_process_sp) {
1621 result.
AppendError(
"could not attach: unknown reason");
1625 result.
AppendError(
"no platform is currently selected");
1643 "Commands to query, launch and attach to "
1644 "processes on the current platform.",
1645 "platform process [attach|launch|list] ...") {
1668#define LLDB_OPTIONS_platform_shell
1669#include "CommandOptions.inc"
1680 return llvm::ArrayRef(g_platform_shell_options);
1687 const char short_option = (char)
GetDefinitions()[option_idx].short_option;
1689 switch (short_option) {
1695 if (option_arg.getAsInteger(10, timeout_sec))
1696 error.SetErrorStringWithFormat(
1697 "could not convert \"%s\" to a numeric value.",
1698 option_arg.str().c_str());
1700 m_timeout = std::chrono::seconds(timeout_sec);
1703 if (option_arg.empty()) {
1704 error.SetErrorStringWithFormat(
1705 "missing shell interpreter path for option -i|--interpreter.");
1713 llvm_unreachable(
"Unimplemented option");
1732 "Run a shell command on the current platform.",
1733 "platform shell <shell-command>", 0) {
1748 if (raw_command_line.empty()) {
1753 const bool is_alias = !raw_command_line.contains(
"platform");
1762 is_alias ?
"shell" :
"platform shell");
1768 PlatformSP platform_sp(
1771 :
GetDebugger().GetPlatformList().GetSelectedPlatform());
1779 working_dir, &status, &signo,
1781 if (!output.empty())
1788 "error: command returned with status %i and signal %s\n",
1789 status, signo_cstr);
1792 "error: command returned with status %i and signal %i\n",
1796 "error: command returned with status %i\n", status);
1800 "error: cannot run remote shell commands without a platform\n");
1801 error.SetErrorString(
1802 "error: cannot run remote shell commands without a platform");
1821 interpreter,
"platform target-install",
1822 "Install a target (bundle or executable file) to the remote end.",
1823 "platform target-install <local-thing> <remote-sandbox>", 0) {
1844 result.
AppendError(
"platform target-install takes two arguments");
1852 result.
AppendError(
"source location does not exist or is not accessible");
1855 PlatformSP platform_sp(
1856 GetDebugger().GetPlatformList().GetSelectedPlatform());
1858 result.
AppendError(
"no platform currently selected");
1863 if (
error.Success()) {
1874 interpreter,
"platform",
"Commands to manage and create platforms.",
1875 "platform [connect|disconnect|info|list|status|select] ...") {
static llvm::raw_ostream & error(Stream &strm)
const OptionPermissions & operator=(const OptionPermissions &)=delete
void OptionParsingStarting(ExecutionContext *execution_context) override
OptionPermissions()=default
lldb_private::Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_arg, ExecutionContext *execution_context) override
~OptionPermissions() override=default
OptionPermissions(const OptionPermissions &)=delete
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
An architecture specification class.
A command line argument class.
void AppendArguments(const Args &rhs)
size_t GetArgumentCount() const
Gets the number of arguments left in this command object.
void AppendArgument(llvm::StringRef arg_str, char quote_char='\0')
Appends a new argument to the end of the list argument list.
llvm::ArrayRef< ArgEntry > entries() const
const char * GetArgumentAtIndex(size_t idx) const
Gets the NULL terminated C string argument pointer for the argument at index idx.
bool GetCommandString(std::string &command) const
static bool InvokeCommonCompletionCallbacks(CommandInterpreter &interpreter, uint32_t completion_mask, lldb_private::CompletionRequest &request, SearchFilter *searcher)
static void PlatformPluginNames(CommandInterpreter &interpreter, CompletionRequest &request, SearchFilter *searcher)
@ eRemoteDiskFileCompletion
ExecutionContext GetExecutionContext() const
bool LoadSubCommand(llvm::StringRef cmd_name, const lldb::CommandObjectSP &command_obj) override
std::vector< CommandArgumentData > CommandArgumentEntry
virtual void SetHelpLong(llvm::StringRef str)
ExecutionContext m_exe_ctx
std::vector< CommandArgumentEntry > m_arguments
CommandInterpreter & GetCommandInterpreter()
CommandInterpreter & m_interpreter
bool ParseOptions(Args &args, CommandReturnObject &result)
virtual llvm::StringRef GetSyntax()
lldb_private::ProcessAttachInfo attach_info
lldb_private::ProcessLaunchInfo launch_info
void AppendErrorWithFormatv(const char *format, Args &&... args)
void void AppendError(llvm::StringRef in_string)
void SetStatus(lldb::ReturnStatus status)
void void AppendMessageWithFormatv(const char *format, Args &&... args)
void AppendErrorWithFormat(const char *format,...) __attribute__((format(printf
void AppendMessageWithFormat(const char *format,...) __attribute__((format(printf
Stream & GetOutputStream()
"lldb/Utility/ArgCompletionRequest.h"
size_t GetCursorIndex() const
A class to manage flag bits.
lldb::TargetSP GetSelectedTarget()
PlatformList & GetPlatformList()
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
const lldb::TargetSP & GetTargetSP() const
Get accessor to get the target shared pointer.
Target * GetTargetPtr() const
Returns a pointer to the target object.
void SetFile(llvm::StringRef path, Style style)
Change the file specified with a new path.
size_t GetPath(char *path, size_t max_path_length, bool denormalize=true) const
Extract the full path to the file.
void Resolve(llvm::SmallVectorImpl< char > &path)
Resolve path to make it canonical.
static FileSystem & Instance()
static const char * GetSignalAsCString(int signo)
A class that describes an executable image and its associated object and symbol files.
const ArchSpec & GetArchitecture() const
Get const accessor for the module architecture.
const FileSpec & GetFileSpec() const
Get const accessor for the module file specification.
OptionValueFileSpec & GetOptionValue()
const OptionGroup * GetGroupWithOption(char short_opt)
void Append(OptionGroup *group)
Append options from a OptionGroup class.
const std::string & GetName()
const StructuredData::DictionarySP GetStructuredData()
FileSpec & GetCurrentValue()
bool OptionWasSet() const
A pair of an option list with a 'raw' string as a suffix.
bool HasArgs() const
Returns true if there are any arguments before the raw suffix.
Args & GetArgs()
Returns the list of arguments.
const std::string & GetRawPart() const
Returns the raw suffix part of the parsed string.
A command line option parsing protocol class.
void NotifyOptionParsingStarting(ExecutionContext *execution_context)
std::vector< Option > m_getopt_table
static llvm::StringRef GetPlatformPluginDescriptionAtIndex(uint32_t idx)
static llvm::StringRef GetPlatformPluginNameAtIndex(uint32_t idx)
void SetProcessPluginName(llvm::StringRef plugin)
void SetGroupID(uint32_t gid)
const char * GetName() const
lldb::pid_t GetProcessID() const
void SetScriptedMetadata(lldb::ScriptedMetadataSP metadata_sp)
void SetArguments(const Args &args, bool first_arg_is_executable)
void SetProcessID(lldb::pid_t pid)
FileSpec & GetExecutableFile()
void SetUserID(uint32_t uid)
ArchSpec & GetArchitecture()
NameMatch GetNameMatchType() const
void SetNameMatchType(NameMatch name_match_type)
void SetMatchAllUsers(bool b)
ProcessInstanceInfo & GetProcessInfo()
void SetEffectiveGroupID(uint32_t gid)
static void DumpTableHeader(Stream &s, bool show_args, bool verbose)
void Dump(Stream &s, UserIDResolver &resolver) const
void DumpAsTableRow(Stream &s, UserIDResolver &resolver, bool show_args, bool verbose) const
void SetParentProcessID(lldb::pid_t pid)
void SetEffectiveUserID(uint32_t uid)
void SetProcessPluginName(llvm::StringRef plugin)
bool Fail() const
Test for error condition.
const char * AsCString(const char *default_error_str="unknown error") const
Get the error string associated with the current error.
A stream class that can stream formatted output to a file.
void Format(const char *format, Args &&... args)
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
size_t EOL()
Output and End of Line character to the stream.
void SetProcessLaunchInfo(const ProcessLaunchInfo &launch_info)
bool GetRunArguments(Args &args) const
Module * GetExecutableModulePointer()
lldb::PlatformSP GetPlatform()
#define LLDB_INVALID_PROCESS_ID
A class that represents a running process on the host machine.
std::vector< OptionArgElement > OptionElementVector
std::vector< ProcessInstanceInfo > ProcessInstanceInfoList
@ eReturnStatusSuccessFinishResult
@ eReturnStatusSuccessFinishNoResult
@ eArgTypeUnsignedInteger
Used to build individual command argument lists.
ArgumentRepetitionType arg_repetition
lldb::CommandArgumentType arg_type