|
| | PlatformWasmRemoteGDBServer ()=default |
| | ~PlatformWasmRemoteGDBServer () override |
| virtual llvm::StringRef | GetDefaultProcessPluginName () const override |
| | PlatformRemoteGDBServer () |
| | Default Constructor.
|
| | ~PlatformRemoteGDBServer () override |
| | Destructor.
|
| llvm::StringRef | GetPluginName () override |
| bool | GetModuleSpec (const FileSpec &module_file_spec, const ArchSpec &arch, ModuleSpec &module_spec) override |
| llvm::StringRef | GetDescription () override |
| Status | GetFileWithUUID (const FileSpec &platform_file, const UUID *uuid_ptr, FileSpec &local_file) override |
| | Locate a file for a platform.
|
| 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.
|
| 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.
|
| Status | KillProcess (const lldb::pid_t pid) override |
| | Kill process on a platform.
|
| lldb::ProcessSP | DebugProcess (ProcessLaunchInfo &launch_info, Debugger &debugger, Target &target, Status &error) override |
| | Subclasses do not need to implement this function as it uses the Platform::LaunchProcess() followed by Platform::Attach ().
|
| lldb::ProcessSP | Attach (ProcessAttachInfo &attach_info, Debugger &debugger, Target *target, Status &error) override |
| | Attach to an existing process using a process ID.
|
| std::vector< ArchSpec > | GetSupportedArchitectures (const ArchSpec &process_host_arch) override |
| | Get the platform's supported architectures in the order in which they should be searched.
|
| size_t | GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite *bp_site) override |
| bool | GetRemoteOSVersion () override |
| std::optional< std::string > | GetRemoteOSBuildString () override |
| std::optional< std::string > | GetRemoteOSKernelDescription () override |
| ArchSpec | GetRemoteSystemArchitecture () override |
| FileSpec | GetRemoteWorkingDirectory () override |
| bool | SetRemoteWorkingDirectory (const FileSpec &working_dir) override |
| const char * | GetHostname () override |
| UserIDResolver & | GetUserIDResolver () override |
| bool | IsConnected () const override |
| Status | ConnectRemote (Args &args) override |
| Status | DisconnectRemote () override |
| Status | MakeDirectory (const FileSpec &file_spec, uint32_t file_permissions) override |
| Status | GetFilePermissions (const FileSpec &file_spec, uint32_t &file_permissions) override |
| Status | SetFilePermissions (const FileSpec &file_spec, uint32_t file_permissions) override |
| 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 *data_ptr, uint64_t len, Status &error) override |
| uint64_t | WriteFile (lldb::user_id_t fd, uint64_t offset, const void *data, uint64_t len, Status &error) override |
| lldb::user_id_t | GetFileSize (const FileSpec &file_spec) override |
| void | AutoCompleteDiskFileOrDirectory (CompletionRequest &request, bool only_dir) override |
| Status | PutFile (const FileSpec &source, const FileSpec &destination, uint32_t uid=UINT32_MAX, uint32_t gid=UINT32_MAX) override |
| Status | CreateSymlink (const FileSpec &src, const FileSpec &dst) override |
| bool | GetFileExists (const FileSpec &file_spec) override |
| Status | Unlink (const FileSpec &path) override |
| Status | RunShellCommand (llvm::StringRef shell, llvm::StringRef command, const FileSpec &working_dir, int *status_ptr, int *signo_ptr, std::string *command_output, const lldb_private::Timeout< std::micro > &timeout) override |
| void | CalculateTrapHandlerSymbolNames () override |
| | Ask the Platform subclass to fill in the list of trap handler names.
|
| llvm::ErrorOr< llvm::MD5::MD5Result > | CalculateMD5 (const FileSpec &file_spec) override |
| const lldb::UnixSignalsSP & | GetRemoteUnixSignals () override |
| size_t | ConnectToWaitingProcesses (lldb_private::Debugger &debugger, lldb_private::Status &error) override |
| | Connect to all processes waiting for a debugger to attach.
|
| virtual size_t | GetPendingGdbServerList (std::vector< std::string > &connection_urls) |
| | Platform (bool is_host_platform) |
| | Default Constructor.
|
| | ~Platform () override |
| | The destructor is virtual since this class is designed to be inherited from by the plug-in instance.
|
| virtual Status | ResolveExecutable (const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp) |
| | Set the target's executable based off of the existing architecture information in target given a path to an executable exe_file.
|
| virtual Status | ResolveSymbolFile (Target &target, const ModuleSpec &sym_spec, FileSpec &sym_file) |
| | Find a symbol file given a symbol file module specification.
|
| virtual bool | ResolveRemotePath (const FileSpec &platform_path, FileSpec &resolved_platform_path) |
| | Resolves the FileSpec to a (possibly) remote path.
|
| virtual llvm::VersionTuple | GetOSVersion (Process *process=nullptr) |
| | Get the OS version from a connected platform.
|
| bool | SetOSVersion (llvm::VersionTuple os_version) |
| std::optional< std::string > | GetOSBuildString () |
| std::optional< std::string > | GetOSKernelDescription () |
| llvm::StringRef | GetName () |
| virtual ConstString | GetFullNameForDylib (ConstString basename) |
| virtual void | GetStatus (Stream &strm) |
| | Report the current status for this platform.
|
| virtual FileSpecList | LocateExecutableScriptingResources (Target *target, Module &module, Stream &feedback_stream) |
| virtual Status | GetSharedModule (const ModuleSpec &module_spec, Process *process, lldb::ModuleSP &module_sp, llvm::SmallVectorImpl< lldb::ModuleSP > *old_modules, bool *did_create_ptr) |
| void | CallLocateModuleCallbackIfSet (const ModuleSpec &module_spec, lldb::ModuleSP &module_sp, FileSpec &symbol_file_spec, bool *did_create_ptr) |
| 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.
|
| virtual bool | IsCompatibleArchitecture (const ArchSpec &arch, const ArchSpec &process_host_arch, ArchSpec::MatchType match, ArchSpec *compatible_arch_ptr) |
| | Lets a platform answer if it is compatible with a given architecture and the target triple contained within.
|
| 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.
|
| virtual lldb::ProcessSP | ConnectProcess (llvm::StringRef connect_url, llvm::StringRef plugin_name, Debugger &debugger, Target *target, Status &error) |
| virtual lldb::ProcessSP | ConnectProcessSynchronous (llvm::StringRef connect_url, llvm::StringRef plugin_name, Debugger &debugger, Stream &stream, Target *target, Status &error) |
| ProcessInstanceInfoList | GetAllProcesses () |
| virtual lldb::BreakpointSP | SetThreadCreationBreakpoint (Target &target) |
| virtual lldb_private::ConstString | GetSDKDirectory (lldb_private::Target &target) |
| virtual llvm::Expected< std::pair< XcodeSDK, bool > > | GetSDKPathFromDebugInfo (Module &module) |
| | Search each CU associated with the specified 'module' for the SDK paths the CUs were compiled against.
|
| virtual llvm::Expected< std::string > | ResolveSDKPathFromDebugInfo (Module &module) |
| | Returns the full path of the most appropriate SDK for the specified 'module'.
|
| virtual llvm::Expected< XcodeSDK > | GetSDKPathFromDebugInfo (CompileUnit &unit) |
| | Search CU for the SDK path the CUs was compiled against.
|
| virtual llvm::Expected< std::string > | ResolveSDKPathFromDebugInfo (CompileUnit &unit) |
| | Returns the full path of the most appropriate SDK for the specified compile unit.
|
| 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.
|
| size_t | GetMaxUserIDNameLength () const |
| size_t | GetMaxGroupIDNameLength () const |
| const std::string & | GetSDKRootDirectory () const |
| void | SetSDKRootDirectory (std::string dir) |
| const std::string & | GetSDKBuild () const |
| void | SetSDKBuild (std::string 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 Status | GetFile (const FileSpec &source, const FileSpec &destination) |
| virtual Status | Install (const FileSpec &src, const FileSpec &dst) |
| | Install a file or directory to the remote system.
|
| virtual Environment | GetEnvironment () |
| 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 lldb_private::Status | RunShellCommand (llvm::StringRef command, const FileSpec &working_dir, int *status_ptr, int *signo_ptr, std::string *command_output, const Timeout< std::micro > &timeout) |
| virtual void | SetLocalCacheDirectory (const char *local) |
| virtual const char * | GetLocalCacheDirectory () |
| virtual std::string | GetPlatformSpecificConnectionInformation () |
| virtual uint32_t | GetResumeCountForLaunchInfo (ProcessLaunchInfo &launch_info) |
| lldb::UnixSignalsSP | GetUnixSignals () |
| virtual std::string | GetQueueNameForThreadQAddress (Process *process, lldb::addr_t dispatch_qaddr) |
| | Locate a queue name given a thread's qaddr.
|
| virtual lldb::queue_id_t | GetQueueIDForThreadQAddress (Process *process, lldb::addr_t dispatch_qaddr) |
| | Locate a queue ID given a thread's qaddr.
|
| virtual const std::vector< ConstString > & | GetTrapHandlerSymbolNames () |
| | Provide a list of trap handler function names for this platform.
|
| virtual lldb::UnwindPlanSP | GetTrapHandlerUnwindPlan (const ArchSpec &arch, ConstString name) |
| | Try to get a specific unwind plan for a named trap handler.
|
| virtual FileSpec | LocateExecutable (const char *basename) |
| | Find a support executable that may not live within in the standard locations related to LLDB.
|
| virtual uint32_t | GetDefaultMemoryCacheLineSize () |
| | Allow the platform to set preferred memory cache line size.
|
| 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.
|
| 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.
|
| 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.
|
| virtual bool | LoadPlatformBinaryAndSetup (Process *process, lldb::addr_t addr, bool notify) |
| | Detect a binary in memory that will determine which Platform and DynamicLoader should be used in this target/process, and update the Platform/DynamicLoader.
|
| virtual CompilerType | GetSiginfoType (const llvm::Triple &triple) |
| virtual lldb::StopInfoSP | GetStopInfoFromSiginfo (Thread &thread) |
| virtual Args | GetExtraStartupCommands () |
| void | SetLocateModuleCallback (LocateModuleCallback callback) |
| | Set locate module callback.
|
| LocateModuleCallback | GetLocateModuleCallback () const |
| | PluginInterface ()=default |
| virtual | ~PluginInterface ()=default |
| | PluginInterface (const PluginInterface &)=delete |
| PluginInterface & | operator= (const PluginInterface &)=delete |