Lines Matching refs:Platform
61 const char *Platform::GetHostPlatformName() { return "host"; } in GetHostPlatformName()
136 PlatformSP Platform::GetHostPlatform() { return GetHostPlatformSP(); } in GetHostPlatform()
138 void Platform::Initialize() {} in Initialize()
140 void Platform::Terminate() {} in Terminate()
142 PlatformProperties &Platform::GetGlobalPlatformProperties() { in GetGlobalPlatformProperties()
147 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { in SetHostPlatform()
153 Status Platform::GetFileWithUUID(const FileSpec &platform_file, in GetFileWithUUID()
161 Platform::LocateExecutableScriptingResources(Target *target, Module &module, in LocateExecutableScriptingResources()
200 Status Platform::GetSharedModule( in GetSharedModule()
241 bool Platform::GetModuleSpec(const FileSpec &module_file_spec, in GetModuleSpec()
253 PlatformSP Platform::Create(llvm::StringRef name) { in Create()
264 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec()
271 Platform::Platform(bool is_host) in Platform() function in Platform
283 Platform::~Platform() = default;
285 void Platform::GetStatus(Stream &strm) { in GetStatus()
334 llvm::VersionTuple Platform::GetOSVersion(Process *process) { in GetOSVersion()
376 llvm::Optional<std::string> Platform::GetOSBuildString() { in GetOSBuildString()
382 llvm::Optional<std::string> Platform::GetOSKernelDescription() { in GetOSKernelDescription()
388 void Platform::AddClangModuleCompilationOptions( in AddClangModuleCompilationOptions()
397 FileSpec Platform::GetWorkingDirectory() { in GetWorkingDirectory()
416 Platform *platform_ptr;
508 Status Platform::Install(const FileSpec &src, const FileSpec &dst) { in Install()
511 Log *log = GetLog(LLDBLog::Platform); in Install()
619 bool Platform::SetWorkingDirectory(const FileSpec &file_spec) { in SetWorkingDirectory()
621 Log *log = GetLog(LLDBLog::Platform); in SetWorkingDirectory()
634 Status Platform::MakeDirectory(const FileSpec &file_spec, in MakeDirectory()
646 Status Platform::GetFilePermissions(const FileSpec &file_spec, in GetFilePermissions()
661 Status Platform::SetFilePermissions(const FileSpec &file_spec, in SetFilePermissions()
674 user_id_t Platform::OpenFile(const FileSpec &file_spec, in OpenFile()
682 bool Platform::CloseFile(user_id_t fd, Status &error) { in CloseFile()
688 user_id_t Platform::GetFileSize(const FileSpec &file_spec) { in GetFileSize()
698 uint64_t Platform::ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst, in ReadFile()
708 uint64_t Platform::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile()
718 UserIDResolver &Platform::GetUserIDResolver() { in GetUserIDResolver()
724 const char *Platform::GetHostname() { in GetHostname()
733 ConstString Platform::GetFullNameForDylib(ConstString basename) { in GetFullNameForDylib()
737 bool Platform::SetRemoteWorkingDirectory(const FileSpec &working_dir) { in SetRemoteWorkingDirectory()
738 Log *log = GetLog(LLDBLog::Platform); in SetRemoteWorkingDirectory()
745 bool Platform::SetOSVersion(llvm::VersionTuple version) { in SetOSVersion()
768 Platform::ResolveExecutable(const ModuleSpec &module_spec, in ResolveExecutable()
803 Platform::ResolveRemoteExecutable(const ModuleSpec &module_spec, in ResolveRemoteExecutable()
868 Status Platform::ResolveSymbolFile(Target &target, const ModuleSpec &sym_spec, in ResolveSymbolFile()
878 bool Platform::ResolveRemotePath(const FileSpec &platform_path, in ResolveRemotePath()
885 const ArchSpec &Platform::GetSystemArchitecture() { in GetSystemArchitecture()
919 ArchSpec Platform::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec()
947 Status Platform::ConnectRemote(Args &args) { in ConnectRemote()
960 Status Platform::DisconnectRemote() { in DisconnectRemote()
974 bool Platform::GetProcessInfo(lldb::pid_t pid, in GetProcessInfo()
983 uint32_t Platform::FindProcesses(const ProcessInstanceInfoMatch &match_info, in FindProcesses()
993 Status Platform::LaunchProcess(ProcessLaunchInfo &launch_info) { in LaunchProcess()
995 Log *log = GetLog(LLDBLog::Platform); in LaunchProcess()
1041 Status Platform::ShellExpandArguments(ProcessLaunchInfo &launch_info) { in ShellExpandArguments()
1047 Status Platform::KillProcess(const lldb::pid_t pid) { in KillProcess()
1048 Log *log = GetLog(LLDBLog::Platform); in KillProcess()
1059 lldb::ProcessSP Platform::DebugProcess(ProcessLaunchInfo &launch_info, in DebugProcess()
1062 Log *log = GetLog(LLDBLog::Platform); in DebugProcess()
1142 Platform::CreateArchList(llvm::ArrayRef<llvm::Triple::ArchType> archs, in CreateArchList()
1156 bool Platform::IsCompatibleArchitecture(const ArchSpec &arch, in IsCompatibleArchitecture()
1179 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination, in PutFile()
1181 Log *log = GetLog(LLDBLog::Platform); in PutFile()
1239 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) { in GetFile()
1245 Platform::CreateSymlink(const FileSpec &src, // The name of the link is in src in CreateSymlink()
1253 bool Platform::GetFileExists(const lldb_private::FileSpec &file_spec) { in GetFileExists()
1259 Status Platform::Unlink(const FileSpec &path) { in Unlink()
1265 MmapArgList Platform::GetMmapArgumentList(const ArchSpec &arch, addr_t addr, in GetMmapArgumentList()
1279 lldb_private::Status Platform::RunShellCommand( in RunShellCommand()
1293 lldb_private::Status Platform::RunShellCommand( in RunShellCommand()
1311 bool Platform::CalculateMD5(const FileSpec &file_spec, uint64_t &low, in CalculateMD5()
1322 void Platform::SetLocalCacheDirectory(const char *local) { in SetLocalCacheDirectory()
1326 const char *Platform::GetLocalCacheDirectory() { in GetLocalCacheDirectory()
1403 Platform::SetThreadCreationBreakpoint(lldb_private::Target &target) { in SetThreadCreationBreakpoint()
1467 Environment Platform::GetEnvironment() { in GetEnvironment()
1473 const std::vector<ConstString> &Platform::GetTrapHandlerSymbolNames() { in GetTrapHandlerSymbolNames()
1485 Platform::GetCachedExecutable(ModuleSpec &module_spec, in GetCachedExecutable()
1504 Status Platform::GetRemoteSharedModule(const ModuleSpec &module_spec, in GetRemoteSharedModule()
1579 bool Platform::GetCachedSharedModule(const ModuleSpec &module_spec, in GetCachedSharedModule()
1586 Log *log = GetLog(LLDBLog::Platform); in GetCachedSharedModule()
1612 Status Platform::DownloadModuleSlice(const FileSpec &src_file_spec, in DownloadModuleSlice()
1660 Status Platform::DownloadSymbolFile(const lldb::ModuleSP &module_sp, in DownloadSymbolFile()
1666 FileSpec Platform::GetModuleCacheRoot() { in GetModuleCacheRoot()
1672 const char *Platform::GetCacheHostname() { return GetHostname(); } in GetCacheHostname()
1674 const UnixSignalsSP &Platform::GetRemoteUnixSignals() { in GetRemoteUnixSignals()
1679 UnixSignalsSP Platform::GetUnixSignals() { in GetUnixSignals()
1685 uint32_t Platform::LoadImage(lldb_private::Process *process, in LoadImage()
1722 uint32_t Platform::DoLoadImage(lldb_private::Process *process, in DoLoadImage()
1731 uint32_t Platform::LoadImageUsingPaths(lldb_private::Process *process, in LoadImageUsingPaths()
1748 Status Platform::UnloadImage(lldb_private::Process *process, in UnloadImage()
1753 lldb::ProcessSP Platform::ConnectProcess(llvm::StringRef connect_url, in ConnectProcess()
1761 lldb::ProcessSP Platform::ConnectProcessSynchronous( in ConnectProcessSynchronous()
1768 lldb::ProcessSP Platform::DoConnectProcess(llvm::StringRef connect_url, in DoConnectProcess()
1828 size_t Platform::ConnectToWaitingProcesses(lldb_private::Debugger &debugger, in ConnectToWaitingProcesses()
1834 size_t Platform::GetSoftwareBreakpointTrapOpcode(Target &target, in GetSoftwareBreakpointTrapOpcode()
1944 CompilerType Platform::GetSiginfoType(const llvm::Triple& triple) { in GetSiginfoType()
1948 Args Platform::GetExtraStartupCommands() { in GetExtraStartupCommands()
2027 PlatformSP host_platform_sp = Platform::GetHostPlatform(); in GetOrCreate()
2073 PlatformSP platform_sp = Platform::Create(name); in Create()