Lines Matching refs:Platform

61 const char *Platform::GetHostPlatformName() { return "host"; }  in GetHostPlatformName()
134 PlatformSP Platform::GetHostPlatform() { return GetHostPlatformSP(); } in GetHostPlatform()
136 void Platform::Initialize() {} in Initialize()
138 void Platform::Terminate() {} in Terminate()
140 PlatformProperties &Platform::GetGlobalPlatformProperties() { in GetGlobalPlatformProperties()
145 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { in SetHostPlatform()
151 Status Platform::GetFileWithUUID(const FileSpec &platform_file, in GetFileWithUUID()
159 Platform::LocateExecutableScriptingResources(Target *target, Module &module, in LocateExecutableScriptingResources()
164 Status Platform::GetSharedModule( in GetSharedModule()
204 bool Platform::GetModuleSpec(const FileSpec &module_file_spec, in GetModuleSpec()
216 PlatformSP Platform::Create(llvm::StringRef name) { in Create()
227 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec()
234 Platform::Platform(bool is_host) in Platform() function in Platform
246 Platform::~Platform() = default;
248 void Platform::GetStatus(Stream &strm) { in GetStatus()
297 llvm::VersionTuple Platform::GetOSVersion(Process *process) { in GetOSVersion()
339 std::optional<std::string> Platform::GetOSBuildString() { in GetOSBuildString()
345 std::optional<std::string> Platform::GetOSKernelDescription() { in GetOSKernelDescription()
351 void Platform::AddClangModuleCompilationOptions( in AddClangModuleCompilationOptions()
360 FileSpec Platform::GetWorkingDirectory() { in GetWorkingDirectory()
379 Platform *platform_ptr;
472 Status Platform::Install(const FileSpec &src, const FileSpec &dst) { in Install()
475 Log *log = GetLog(LLDBLog::Platform); in Install()
583 bool Platform::SetWorkingDirectory(const FileSpec &file_spec) { in SetWorkingDirectory()
585 Log *log = GetLog(LLDBLog::Platform); in SetWorkingDirectory()
598 Status Platform::MakeDirectory(const FileSpec &file_spec, in MakeDirectory()
610 Status Platform::GetFilePermissions(const FileSpec &file_spec, in GetFilePermissions()
625 Status Platform::SetFilePermissions(const FileSpec &file_spec, in SetFilePermissions()
638 user_id_t Platform::OpenFile(const FileSpec &file_spec, in OpenFile()
646 bool Platform::CloseFile(user_id_t fd, Status &error) { in CloseFile()
652 user_id_t Platform::GetFileSize(const FileSpec &file_spec) { in GetFileSize()
662 uint64_t Platform::ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst, in ReadFile()
672 uint64_t Platform::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile()
682 UserIDResolver &Platform::GetUserIDResolver() { in GetUserIDResolver()
688 const char *Platform::GetHostname() { in GetHostname()
697 ConstString Platform::GetFullNameForDylib(ConstString basename) { in GetFullNameForDylib()
701 bool Platform::SetRemoteWorkingDirectory(const FileSpec &working_dir) { in SetRemoteWorkingDirectory()
702 Log *log = GetLog(LLDBLog::Platform); in SetRemoteWorkingDirectory()
709 bool Platform::SetOSVersion(llvm::VersionTuple version) { in SetOSVersion()
732 Platform::ResolveExecutable(const ModuleSpec &module_spec, in ResolveExecutable()
796 Status Platform::ResolveSymbolFile(Target &target, const ModuleSpec &sym_spec, in ResolveSymbolFile()
806 bool Platform::ResolveRemotePath(const FileSpec &platform_path, in ResolveRemotePath()
813 const ArchSpec &Platform::GetSystemArchitecture() { in GetSystemArchitecture()
847 ArchSpec Platform::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec()
876 Status Platform::ConnectRemote(Args &args) { in ConnectRemote()
889 Status Platform::DisconnectRemote() { in DisconnectRemote()
903 bool Platform::GetProcessInfo(lldb::pid_t pid, in GetProcessInfo()
912 uint32_t Platform::FindProcesses(const ProcessInstanceInfoMatch &match_info, in FindProcesses()
922 ProcessInstanceInfoList Platform::GetAllProcesses() { in GetAllProcesses()
930 Status Platform::LaunchProcess(ProcessLaunchInfo &launch_info) { in LaunchProcess()
932 Log *log = GetLog(LLDBLog::Platform); in LaunchProcess()
978 Status Platform::ShellExpandArguments(ProcessLaunchInfo &launch_info) { in ShellExpandArguments()
984 Status Platform::KillProcess(const lldb::pid_t pid) { in KillProcess()
985 Log *log = GetLog(LLDBLog::Platform); in KillProcess()
996 lldb::ProcessSP Platform::DebugProcess(ProcessLaunchInfo &launch_info, in DebugProcess()
999 Log *log = GetLog(LLDBLog::Platform); in DebugProcess()
1079 Platform::CreateArchList(llvm::ArrayRef<llvm::Triple::ArchType> archs, in CreateArchList()
1093 bool Platform::IsCompatibleArchitecture(const ArchSpec &arch, in IsCompatibleArchitecture()
1114 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination, in PutFile()
1116 Log *log = GetLog(LLDBLog::Platform); in PutFile()
1200 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) { in GetFile()
1206 Platform::CreateSymlink(const FileSpec &src, // The name of the link is in src in CreateSymlink()
1214 bool Platform::GetFileExists(const lldb_private::FileSpec &file_spec) { in GetFileExists()
1220 Status Platform::Unlink(const FileSpec &path) { in Unlink()
1226 MmapArgList Platform::GetMmapArgumentList(const ArchSpec &arch, addr_t addr, in GetMmapArgumentList()
1240 lldb_private::Status Platform::RunShellCommand( in RunShellCommand()
1254 lldb_private::Status Platform::RunShellCommand( in RunShellCommand()
1273 Platform::CalculateMD5(const FileSpec &file_spec) { in CalculateMD5()
1279 void Platform::SetLocalCacheDirectory(const char *local) { in SetLocalCacheDirectory()
1283 const char *Platform::GetLocalCacheDirectory() { in GetLocalCacheDirectory()
1360 Platform::SetThreadCreationBreakpoint(lldb_private::Target &target) { in SetThreadCreationBreakpoint()
1424 Environment Platform::GetEnvironment() { in GetEnvironment()
1430 const std::vector<ConstString> &Platform::GetTrapHandlerSymbolNames() { in GetTrapHandlerSymbolNames()
1442 Platform::GetCachedExecutable(ModuleSpec &module_spec, in GetCachedExecutable()
1449 return Platform::ResolveExecutable(spec, module_sp, in GetCachedExecutable()
1461 Status Platform::GetRemoteSharedModule(const ModuleSpec &module_spec, in GetRemoteSharedModule()
1583 void Platform::CallLocateModuleCallbackIfSet(const ModuleSpec &module_spec, in CallLocateModuleCallbackIfSet()
1597 Log *log = GetLog(LLDBLog::Platform); in CallLocateModuleCallbackIfSet()
1689 bool Platform::GetCachedSharedModule(const ModuleSpec &module_spec, in GetCachedSharedModule()
1696 Log *log = GetLog(LLDBLog::Platform); in GetCachedSharedModule()
1722 Status Platform::DownloadModuleSlice(const FileSpec &src_file_spec, in DownloadModuleSlice()
1770 Status Platform::DownloadSymbolFile(const lldb::ModuleSP &module_sp, in DownloadSymbolFile()
1776 FileSpec Platform::GetModuleCacheRoot() { in GetModuleCacheRoot()
1782 const char *Platform::GetCacheHostname() { return GetHostname(); } in GetCacheHostname()
1784 const UnixSignalsSP &Platform::GetRemoteUnixSignals() { in GetRemoteUnixSignals()
1789 UnixSignalsSP Platform::GetUnixSignals() { in GetUnixSignals()
1795 uint32_t Platform::LoadImage(lldb_private::Process *process, in LoadImage()
1832 uint32_t Platform::DoLoadImage(lldb_private::Process *process, in DoLoadImage()
1841 uint32_t Platform::LoadImageUsingPaths(lldb_private::Process *process, in LoadImageUsingPaths()
1858 Status Platform::UnloadImage(lldb_private::Process *process, in UnloadImage()
1863 lldb::ProcessSP Platform::ConnectProcess(llvm::StringRef connect_url, in ConnectProcess()
1871 lldb::ProcessSP Platform::ConnectProcessSynchronous( in ConnectProcessSynchronous()
1878 lldb::ProcessSP Platform::DoConnectProcess(llvm::StringRef connect_url, in DoConnectProcess()
1935 size_t Platform::ConnectToWaitingProcesses(lldb_private::Debugger &debugger, in ConnectToWaitingProcesses()
1941 size_t Platform::GetSoftwareBreakpointTrapOpcode(Target &target, in GetSoftwareBreakpointTrapOpcode()
2078 CompilerType Platform::GetSiginfoType(const llvm::Triple& triple) { in GetSiginfoType()
2082 Args Platform::GetExtraStartupCommands() { in GetExtraStartupCommands()
2086 void Platform::SetLocateModuleCallback(LocateModuleCallback callback) { in SetLocateModuleCallback()
2090 Platform::LocateModuleCallback Platform::GetLocateModuleCallback() const { in GetLocateModuleCallback()
2172 PlatformSP host_platform_sp = Platform::GetHostPlatform(); in GetOrCreate()
2217 PlatformSP platform_sp = Platform::Create(name); in Create()