LLDB
mainline
|
A base class for platforms which automatically want to be able to forward operations to a remote platform instance (such as PlatformRemoteGDBServer). More...
#include <RemoteAwarePlatform.h>
Public Member Functions | |
bool | GetModuleSpec (const FileSpec &module_file_spec, const ArchSpec &arch, ModuleSpec &module_spec) override |
Status | ResolveExecutable (const ModuleSpec &module_spec, lldb::ModuleSP &module_sp, const FileSpecList *module_search_paths_ptr) override |
Find a platform plugin for a given process. More... | |
lldb::user_id_t | OpenFile (const FileSpec &file_spec, File::OpenOptions flags, uint32_t mode, Status &error) override |
bool | CloseFile (lldb::user_id_t fd, Status &error) override |
uint64_t | ReadFile (lldb::user_id_t fd, uint64_t offset, void *dst, uint64_t dst_len, Status &error) override |
uint64_t | WriteFile (lldb::user_id_t fd, uint64_t offset, const void *src, uint64_t src_len, Status &error) override |
lldb::user_id_t | GetFileSize (const FileSpec &file_spec) override |
Status | CreateSymlink (const FileSpec &src, const FileSpec &dst) override |
bool | GetFileExists (const FileSpec &file_spec) override |
Status | Unlink (const FileSpec &file_spec) override |
FileSpec | GetRemoteWorkingDirectory () override |
bool | SetRemoteWorkingDirectory (const FileSpec &working_dir) override |
Status | MakeDirectory (const FileSpec &file_spec, uint32_t mode) override |
Status | GetFilePermissions (const FileSpec &file_spec, uint32_t &file_permissions) override |
Status | SetFilePermissions (const FileSpec &file_spec, uint32_t file_permissions) override |
bool | CalculateMD5 (const FileSpec &file_spec, uint64_t &low, uint64_t &high) override |
Status | GetFileWithUUID (const FileSpec &platform_file, const UUID *uuid, FileSpec &local_file) override |
Locate a file for a platform. More... | |
bool | GetRemoteOSVersion () override |
llvm::Optional< std::string > | GetRemoteOSBuildString () override |
llvm::Optional< std::string > | GetRemoteOSKernelDescription () override |
ArchSpec | GetRemoteSystemArchitecture () override |
Status | RunShellCommand (llvm::StringRef command, const FileSpec &working_dir, int *status_ptr, int *signo_ptr, std::string *command_output, const Timeout< std::micro > &timeout) override |
Status | RunShellCommand (llvm::StringRef interpreter, llvm::StringRef command, const FileSpec &working_dir, int *status_ptr, int *signo_ptr, std::string *command_output, const Timeout< std::micro > &timeout) override |
const char * | GetHostname () override |
UserIDResolver & | GetUserIDResolver () override |
lldb_private::Environment | GetEnvironment () override |
bool | IsConnected () const override |
bool | GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &proc_info) override |
uint32_t | FindProcesses (const ProcessInstanceInfoMatch &match_info, ProcessInstanceInfoList &process_infos) override |
Attach to an existing process by process name. More... | |
lldb::ProcessSP | ConnectProcess (llvm::StringRef connect_url, llvm::StringRef plugin_name, Debugger &debugger, Target *target, Status &error) override |
Status | LaunchProcess (ProcessLaunchInfo &launch_info) override |
Launch a new process on a platform, not necessarily for debugging, it could be just for running the process. More... | |
Status | KillProcess (const lldb::pid_t pid) override |
Kill process on a platform. More... | |
size_t | ConnectToWaitingProcesses (Debugger &debugger, Status &error) override |
Connect to all processes waiting for a debugger to attach. More... | |
Platform (bool is_host_platform) | |
Default Constructor. More... | |
![]() | |
Platform (bool is_host_platform) | |
Default Constructor. More... | |
~Platform () override | |
The destructor is virtual since this class is designed to be inherited from by the plug-in instance. More... | |
virtual Status | ResolveSymbolFile (Target &target, const ModuleSpec &sym_spec, FileSpec &sym_file) |
Find a symbol file given a symbol file module specification. More... | |
virtual bool | ResolveRemotePath (const FileSpec &platform_path, FileSpec &resolved_platform_path) |
Resolves the FileSpec to a (possibly) remote path. More... | |
virtual llvm::VersionTuple | GetOSVersion (Process *process=nullptr) |
Get the OS version from a connected platform. More... | |
bool | SetOSVersion (llvm::VersionTuple os_version) |
llvm::Optional< std::string > | GetOSBuildString () |
llvm::Optional< std::string > | GetOSKernelDescription () |
llvm::StringRef | GetName () |
virtual ConstString | GetFullNameForDylib (ConstString basename) |
virtual llvm::StringRef | GetDescription ()=0 |
virtual void | GetStatus (Stream &strm) |
Report the current status for this platform. More... | |
virtual FileSpecList | LocateExecutableScriptingResources (Target *target, Module &module, Stream *feedback_stream) |
virtual Status | GetSharedModule (const ModuleSpec &module_spec, Process *process, lldb::ModuleSP &module_sp, const FileSpecList *module_search_paths_ptr, llvm::SmallVectorImpl< lldb::ModuleSP > *old_modules, bool *did_create_ptr) |
virtual Status | ConnectRemote (Args &args) |
virtual Status | DisconnectRemote () |
virtual std::vector< ArchSpec > | GetSupportedArchitectures (const ArchSpec &process_host_arch)=0 |
Get the platform's supported architectures in the order in which they should be searched. More... | |
virtual size_t | GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite *bp_site) |
virtual Status | ShellExpandArguments (ProcessLaunchInfo &launch_info) |
Perform expansion of the command-line for this launch info This can potentially involve wildcard expansion environment variable replacement, and whatever other argument magic the platform defines as part of its typical user experience. More... | |
virtual bool | IsCompatibleArchitecture (const ArchSpec &arch, const ArchSpec &process_host_arch, bool exact_arch_match, ArchSpec *compatible_arch_ptr) |
Lets a platform answer if it is compatible with a given architecture and the target triple contained within. More... | |
virtual bool | CanDebugProcess () |
Not all platforms will support debugging a process by spawning somehow halted for a debugger (specified using the "eLaunchFlagDebug" launch flag) and then attaching. More... | |
virtual lldb::ProcessSP | DebugProcess (ProcessLaunchInfo &launch_info, Debugger &debugger, Target &target, Status &error) |
Subclasses do not need to implement this function as it uses the Platform::LaunchProcess() followed by Platform::Attach (). More... | |
virtual lldb::ProcessSP | ConnectProcessSynchronous (llvm::StringRef connect_url, llvm::StringRef plugin_name, Debugger &debugger, Stream &stream, Target *target, Status &error) |
virtual lldb::ProcessSP | Attach (ProcessAttachInfo &attach_info, Debugger &debugger, Target *target, Status &error)=0 |
Attach to an existing process using a process ID. More... | |
virtual lldb::BreakpointSP | SetThreadCreationBreakpoint (Target &target) |
virtual lldb_private::ConstString | GetSDKDirectory (lldb_private::Target &target) |
const std::string & | GetRemoteURL () const |
bool | IsHost () const |
bool | IsRemote () const |
const ArchSpec & | GetSystemArchitecture () |
void | SetSystemArchitecture (const ArchSpec &arch) |
ArchSpec | GetAugmentedArchSpec (llvm::StringRef triple) |
If the triple contains not specify the vendor, os, and environment parts, we "augment" these using information from the platform and return the resulting ArchSpec object. More... | |
size_t | GetMaxUserIDNameLength () const |
size_t | GetMaxGroupIDNameLength () const |
ConstString | GetSDKRootDirectory () const |
void | SetSDKRootDirectory (ConstString dir) |
ConstString | GetSDKBuild () const |
void | SetSDKBuild (ConstString sdk_build) |
virtual bool | SupportsModules () |
virtual void | AddClangModuleCompilationOptions (Target *target, std::vector< std::string > &options) |
FileSpec | GetWorkingDirectory () |
bool | SetWorkingDirectory (const FileSpec &working_dir) |
virtual bool | ModuleIsExcludedForUnconstrainedSearches (Target &target, const lldb::ModuleSP &module_sp) |
virtual void | AutoCompleteDiskFileOrDirectory (CompletionRequest &request, bool only_dir) |
virtual Status | GetFile (const FileSpec &source, const FileSpec &destination) |
virtual Status | PutFile (const FileSpec &source, const FileSpec &destination, uint32_t uid=UINT32_MAX, uint32_t gid=UINT32_MAX) |
virtual Status | Install (const FileSpec &src, const FileSpec &dst) |
Install a file or directory to the remote system. More... | |
virtual MmapArgList | GetMmapArgumentList (const ArchSpec &arch, lldb::addr_t addr, lldb::addr_t length, unsigned prot, unsigned flags, lldb::addr_t fd, lldb::addr_t offset) |
virtual bool | GetSupportsRSync () |
virtual void | SetSupportsRSync (bool flag) |
virtual const char * | GetRSyncOpts () |
virtual void | SetRSyncOpts (const char *opts) |
virtual const char * | GetRSyncPrefix () |
virtual void | SetRSyncPrefix (const char *prefix) |
virtual bool | GetSupportsSSH () |
virtual void | SetSupportsSSH (bool flag) |
virtual const char * | GetSSHOpts () |
virtual void | SetSSHOpts (const char *opts) |
virtual bool | GetIgnoresRemoteHostname () |
virtual void | SetIgnoresRemoteHostname (bool flag) |
virtual lldb_private::OptionGroupOptions * | GetConnectionOptions (CommandInterpreter &interpreter) |
virtual void | SetLocalCacheDirectory (const char *local) |
virtual const char * | GetLocalCacheDirectory () |
virtual std::string | GetPlatformSpecificConnectionInformation () |
virtual uint32_t | GetResumeCountForLaunchInfo (ProcessLaunchInfo &launch_info) |
virtual const lldb::UnixSignalsSP & | GetRemoteUnixSignals () |
lldb::UnixSignalsSP | GetUnixSignals () |
virtual std::string | GetQueueNameForThreadQAddress (Process *process, lldb::addr_t dispatch_qaddr) |
Locate a queue name given a thread's qaddr. More... | |
virtual lldb::queue_id_t | GetQueueIDForThreadQAddress (Process *process, lldb::addr_t dispatch_qaddr) |
Locate a queue ID given a thread's qaddr. More... | |
virtual const std::vector< ConstString > & | GetTrapHandlerSymbolNames () |
Provide a list of trap handler function names for this platform. More... | |
virtual lldb::UnwindPlanSP | GetTrapHandlerUnwindPlan (const llvm::Triple &triple, ConstString name) |
Try to get a specific unwind plan for a named trap handler. More... | |
virtual FileSpec | LocateExecutable (const char *basename) |
Find a support executable that may not live within in the standard locations related to LLDB. More... | |
virtual uint32_t | GetDefaultMemoryCacheLineSize () |
Allow the platform to set preferred memory cache line size. More... | |
uint32_t | LoadImage (lldb_private::Process *process, const lldb_private::FileSpec &local_file, const lldb_private::FileSpec &remote_file, lldb_private::Status &error) |
Load a shared library into this process. More... | |
uint32_t | LoadImageUsingPaths (lldb_private::Process *process, const lldb_private::FileSpec &library_name, const std::vector< std::string > &paths, lldb_private::Status &error, lldb_private::FileSpec *loaded_path) |
Load a shared library specified by base name into this process, looking by hand along a set of paths. More... | |
virtual uint32_t | DoLoadImage (lldb_private::Process *process, const lldb_private::FileSpec &remote_file, const std::vector< std::string > *paths, lldb_private::Status &error, lldb_private::FileSpec *loaded_path=nullptr) |
virtual Status | UnloadImage (lldb_private::Process *process, uint32_t image_token) |
virtual llvm::Expected< StructuredData::DictionarySP > | FetchExtendedCrashInformation (lldb_private::Process &process) |
Gather all of crash informations into a structured data dictionary. More... | |
virtual CompilerType | GetSiginfoType (const llvm::Triple &triple) |
virtual Args | GetExtraStartupCommands () |
![]() | |
PluginInterface ()=default | |
virtual | ~PluginInterface ()=default |
virtual llvm::StringRef | GetPluginName ()=0 |
PluginInterface (const PluginInterface &)=delete | |
PluginInterface & | operator= (const PluginInterface &)=delete |
Protected Attributes | |
lldb::PlatformSP | m_remote_platform_sp |
![]() | |
bool | m_is_host |
bool | m_os_version_set_while_connected |
bool | m_system_arch_set_while_connected |
ConstString | m_sdk_sysroot |
ConstString | m_sdk_build |
FileSpec | m_working_dir |
std::string | m_remote_url |
std::string | m_hostname |
llvm::VersionTuple | m_os_version |
ArchSpec | m_system_arch |
std::mutex | m_mutex |
size_t | m_max_uid_name_len |
size_t | m_max_gid_name_len |
bool | m_supports_rsync |
std::string | m_rsync_opts |
std::string | m_rsync_prefix |
bool | m_supports_ssh |
std::string | m_ssh_opts |
bool | m_ignores_remote_hostname |
std::string | m_local_cache_directory |
std::vector< ConstString > | m_trap_handlers |
bool | m_calculated_trap_handlers |
const std::unique_ptr< ModuleCache > | m_module_cache |
Additional Inherited Members | |
![]() | |
static void | Initialize () |
static void | Terminate () |
static PlatformProperties & | GetGlobalPlatformProperties () |
static lldb::PlatformSP | GetHostPlatform () |
Get the native host platform plug-in. More... | |
static const char * | GetHostPlatformName () |
static void | SetHostPlatform (const lldb::PlatformSP &platform_sp) |
static lldb::PlatformSP | Create (llvm::StringRef name) |
static ArchSpec | GetAugmentedArchSpec (Platform *platform, llvm::StringRef triple) |
Augments the triple either with information from platform or the host system (if platform is null). More... | |
![]() | |
typedef std::map< uint32_t, ConstString > | IDToNameMap |
![]() | |
lldb::ProcessSP | DoConnectProcess (llvm::StringRef connect_url, llvm::StringRef plugin_name, Debugger &debugger, Stream *stream, Target *target, Status &error) |
Private implementation of connecting to a process. More... | |
virtual void | CalculateTrapHandlerSymbolNames ()=0 |
Ask the Platform subclass to fill in the list of trap handler names. More... | |
Status | GetCachedExecutable (ModuleSpec &module_spec, lldb::ModuleSP &module_sp, const FileSpecList *module_search_paths_ptr) |
virtual Status | DownloadModuleSlice (const FileSpec &src_file_spec, const uint64_t src_offset, const uint64_t src_size, const FileSpec &dst_file_spec) |
virtual Status | DownloadSymbolFile (const lldb::ModuleSP &module_sp, const FileSpec &dst_file_spec) |
virtual const char * | GetCacheHostname () |
virtual Status | ResolveRemoteExecutable (const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, const FileSpecList *module_search_paths_ptr) |
![]() | |
static std::vector< ArchSpec > | CreateArchList (llvm::ArrayRef< llvm::Triple::ArchType > archs, llvm::Triple::OSType os) |
Create a list of ArchSpecs with the given OS and a architectures. More... | |
A base class for platforms which automatically want to be able to forward operations to a remote platform instance (such as PlatformRemoteGDBServer).
Definition at line 18 of file RemoteAwarePlatform.h.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 268 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::CalculateMD5().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 221 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::CloseFile(), and error().
Referenced by PlatformPOSIX::GetFile().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 365 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::ConnectProcess(), and error().
|
overridevirtual |
Connect to all processes waiting for a debugger to attach.
If the platform have a list of processes waiting for a debugger to connect to them then connect to all of these pending processes.
[in] | debugger | The debugger used for the connect. |
[out] | error | If an error occurred during the connect then this object will contain the error message. |
Reimplemented from lldb_private::Platform.
Definition at line 389 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::ConnectToWaitingProcesses(), and error().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 249 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::CreateSymlink().
|
overridevirtual |
Attach to an existing process by process name.
This function is not meant to be overridden by Process subclasses. It will first call Process::WillAttach (const char *) and if that returns true, Process::DoAttach (const char *) will be called to actually do the attach. If DoAttach returns true, then Process::DidAttach() will be called.
[in] | process_name | A process name to match against the current process list. |
Reimplemented from lldb_private::Platform.
Reimplemented in lldb_private::PlatformAppleSimulator.
Definition at line 358 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::FindProcesses().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 338 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetEnvironment().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 256 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetFileExists().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 197 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetFilePermissions().
Referenced by PlatformPOSIX::GetFile().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 243 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetFileSize().
|
overridevirtual |
Locate a file for a platform.
The default implementation of this function will return the same file patch in local_file as was in platform_file.
[in] | platform_file | The platform file path to locate and cache locally. |
[in] | uuid_ptr | If we know the exact UUID of the file we are looking for, it can be specified. If it is not specified, we might now know the exact file. The UUID is usually some sort of MD5 checksum for the file and is sometimes known by dynamic linkers/loaders. If the UUID is known, it is best to supply it to platform file queries to ensure we are finding the correct file, not just a file at the correct path. |
[out] | local_file | A locally cached version of the platform file. For platforms that describe the current host computer, this will just be the same file. For remote platforms, this file might come from and SDK directory, or might need to be sync'ed over to the current machine for efficient debugging access. |
Reimplemented from lldb_private::Platform.
Definition at line 288 of file RemoteAwarePlatform.cpp.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 326 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetHostname().
Referenced by PlatformPOSIX::PutFile().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 21 of file RemoteAwarePlatform.cpp.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 350 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetProcessInfo().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 308 of file RemoteAwarePlatform.cpp.
Referenced by lldb_private::PlatformRemoteDarwinDevice::GetConnectedSDKIndex().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 314 of file RemoteAwarePlatform.cpp.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Reimplemented in lldb_private::platform_android::PlatformAndroid.
Definition at line 300 of file RemoteAwarePlatform.cpp.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 320 of file RemoteAwarePlatform.cpp.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 275 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetRemoteWorkingDirectory().
Referenced by lldb_private::platform_android::PlatformAndroid::GetFile(), and lldb_private::platform_android::PlatformAndroid::PutFile().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 332 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::GetUserIDResolver().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 344 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::IsConnected().
Referenced by lldb_private::platform_freebsd::PlatformFreeBSD::CanDebugProcess(), lldb_private::platform_netbsd::PlatformNetBSD::CanDebugProcess(), lldb_private::platform_linux::PlatformLinux::CanDebugProcess(), lldb_private::PlatformRemoteDarwinDevice::GetConnectedSDKIndex(), and lldb_private::platform_android::PlatformAndroid::GetSdkVersion().
|
overridevirtual |
Kill process on a platform.
Reimplemented from lldb_private::Platform.
Definition at line 383 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::KillProcess().
|
overridevirtual |
Launch a new process on a platform, not necessarily for debugging, it could be just for running the process.
Reimplemented from lldb_private::Platform.
Reimplemented in lldb_private::PlatformDarwin, and lldb_private::PlatformAppleSimulator.
Definition at line 377 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::LaunchProcess().
Referenced by lldb_private::PlatformDarwin::LaunchProcess().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 190 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::MakeDirectory().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 213 of file RemoteAwarePlatform.cpp.
References error(), and lldb_private::Platform::OpenFile().
Referenced by PlatformPOSIX::GetFile().
Platform::Platform |
Default Constructor.
Definition at line 271 of file Platform.cpp.
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 227 of file RemoteAwarePlatform.cpp.
References error(), and lldb_private::Platform::ReadFile().
Referenced by PlatformPOSIX::GetFile().
|
overridevirtual |
Find a platform plugin for a given process.
Scans the installed Platform plug-ins and tries to find an instance that can be used for process
[in] | process | The process for which to try and locate a platform plug-in instance. |
[in] | plugin_name | An optional name of a specific platform plug-in that should be used. If nullptr, pick the best plug-in. Set the target's executable based off of the existing architecture information in target given a path to an executable exe_file. |
Each platform knows the architectures that it supports and can select the correct architecture slice within exe_file by inspecting the architecture in target. If the target had an architecture specified, then in can try and obey that request and optionally fail if the architecture doesn't match up. If no architecture is specified, the platform should select the default architecture from exe_file. Any application bundles or executable wrappers can also be inspected for the actual application binary within the bundle that should be used.
Reimplemented from lldb_private::Platform.
Reimplemented in lldb_private::PlatformAppleSimulator, and lldb_private::PlatformRemoteDarwinDevice.
Definition at line 31 of file RemoteAwarePlatform.cpp.
References error(), lldb_private::ModuleSpec::GetArchitecture(), lldb_private::ArchSpec::GetArchitectureName(), lldb_private::StreamString::GetData(), lldb_private::ModuleSpec::GetFileSpec(), lldb_private::FileSpec::GetPath(), lldb_private::FileSystem::GetPermissions(), lldb_private::ModuleList::GetSharedModule(), lldb_private::ArchSpec::GetTriple(), lldb_private::FileSystem::Instance(), lldb_private::ArchSpec::IsValid(), PATH_MAX, lldb_private::FileSystem::Resolve(), lldb_private::Host::ResolveExecutableInBundle(), lldb_private::FileSystem::ResolveExecutableLocation(), and lldb_private::FileSpec::SetFile().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 170 of file RemoteAwarePlatform.cpp.
Referenced by PlatformPOSIX::GetFile(), and PlatformPOSIX::PutFile().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 178 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::RunShellCommand().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 205 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::SetFilePermissions().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 281 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::SetRemoteWorkingDirectory().
Reimplemented from lldb_private::Platform.
Definition at line 262 of file RemoteAwarePlatform.cpp.
References lldb_private::Platform::Unlink().
|
overridevirtual |
Reimplemented from lldb_private::Platform.
Definition at line 235 of file RemoteAwarePlatform.cpp.
References error(), and lldb_private::Platform::WriteFile().
Referenced by PlatformPOSIX::GetFile().
|
protected |
Definition at line 104 of file RemoteAwarePlatform.h.
Referenced by PlatformPOSIX::Attach(), lldb_private::PlatformWindows::Attach(), lldb_private::PlatformWindows::ConnectRemote(), lldb_private::platform_android::PlatformAndroid::ConnectRemote(), PlatformPOSIX::ConnectRemote(), PlatformPOSIX::DebugProcess(), lldb_private::PlatformWindows::DebugProcess(), lldb_private::PlatformWindows::DisconnectRemote(), PlatformPOSIX::DisconnectRemote(), PlatformPOSIX::GetFile(), lldb_private::platform_android::PlatformAndroid::GetFile(), PlatformPOSIX::GetRemoteUnixSignals(), lldb_private::platform_openbsd::PlatformOpenBSD::GetSupportedArchitectures(), lldb_private::platform_netbsd::PlatformNetBSD::GetSupportedArchitectures(), lldb_private::platform_linux::PlatformLinux::GetSupportedArchitectures(), lldb_private::platform_freebsd::PlatformFreeBSD::GetSupportedArchitectures(), PlatformPOSIX::PutFile(), and lldb_private::platform_android::PlatformAndroid::PutFile().