9#ifndef LLDB_API_SBPLATFORM_H
10#define LLDB_API_SBPLATFORM_H
35 void SetURL(
const char *url);
37 bool GetRsyncEnabled();
39 void EnableRsync(
const char *options,
const char *remote_path_prefix,
40 bool omit_remote_hostname);
44 const char *GetLocalCacheDirectory();
46 void SetLocalCacheDirectory(
const char *path);
65 const char *GetShell();
67 void SetShell(
const char *shell);
69 const char *GetCommand();
71 void SetCommand(
const char *shell_command);
73 const char *GetWorkingDirectory();
75 void SetWorkingDirectory(
const char *path);
79 void SetTimeoutSeconds(
uint32_t sec);
85 const char *GetOutput();
107 explicit operator bool()
const;
109 bool IsValid()
const;
113 const char *GetWorkingDirectory();
115 bool SetWorkingDirectory(
const char *path);
121 void DisconnectRemote();
126 const char *GetTriple();
128 const char *GetHostname();
130 const char *GetOSBuild();
132 const char *GetOSDescription();
140 void SetSDKRoot(
const char *sysroot);
155 MakeDirectory(
const char *path,
156 uint32_t file_permissions = eFilePermissionsDirectoryDefault);
158 uint32_t GetFilePermissions(
const char *path);
160 SBError SetFilePermissions(
const char *path,
uint32_t file_permissions);
176 lldb::PlatformSP GetSP()
const;
178 void SetSP(
const lldb::PlatformSP &platform_sp);
static llvm::StringRef GetName(XcodeSDK::Type type)
class LLDB_API SBLaunchInfo