9#ifndef LLDB_API_SBPLATFORM_H
10#define LLDB_API_SBPLATFORM_H
20class ProcessInstanceInfoMatch;
39 void SetURL(
const char *url);
41 bool GetRsyncEnabled();
43 void EnableRsync(
const char *options,
const char *remote_path_prefix,
44 bool omit_remote_hostname);
48 const char *GetLocalCacheDirectory();
50 void SetLocalCacheDirectory(
const char *path);
69 const char *GetShell();
71 void SetShell(
const char *shell);
73 const char *GetCommand();
75 void SetCommand(
const char *shell_command);
77 const char *GetWorkingDirectory();
79 void SetWorkingDirectory(
const char *path);
81 uint32_t GetTimeoutSeconds();
83 void SetTimeoutSeconds(uint32_t sec);
89 const char *GetOutput();
111 explicit operator bool()
const;
113 bool IsValid()
const;
117 const char *GetWorkingDirectory();
119 bool SetWorkingDirectory(
const char *path);
125 void DisconnectRemote();
130 const char *GetTriple();
132 const char *GetHostname();
134 const char *GetOSBuild();
136 const char *GetOSDescription();
138 uint32_t GetOSMajorVersion();
140 uint32_t GetOSMinorVersion();
142 uint32_t GetOSUpdateVersion();
144 void SetSDKRoot(
const char *sysroot);
164 MakeDirectory(
const char *path,
165 uint32_t file_permissions = eFilePermissionsDirectoryDefault);
167 uint32_t GetFilePermissions(
const char *path);
169 SBError SetFilePermissions(
const char *path, uint32_t file_permissions);
191 void *callback_baton);
static llvm::raw_ostream & error(Stream &strm)
static llvm::StringRef GetName(XcodeSDK::Type type)
lldb::SBError(* SBPlatformLocateModuleCallback)(void *baton, const lldb::SBModuleSpec &module_spec, lldb::SBFileSpec &module_file_spec, lldb::SBFileSpec &symbol_file_spec)
std::shared_ptr< lldb_private::Platform > PlatformSP
class LLDB_API SBAttachInfo
class LLDB_API SBLaunchInfo