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()
198 Status Platform::GetSharedModule( in GetSharedModule()
238 bool Platform::GetModuleSpec(const FileSpec &module_file_spec, in GetModuleSpec()
250 PlatformSP Platform::Create(llvm::StringRef name) { in Create()
261 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec()
268 Platform::Platform(bool is_host) in Platform() function in Platform
280 Platform::~Platform() = default;
282 void Platform::GetStatus(Stream &strm) { in GetStatus()
331 llvm::VersionTuple Platform::GetOSVersion(Process *process) { in GetOSVersion()
373 std::optional<std::string> Platform::GetOSBuildString() { in GetOSBuildString()
379 std::optional<std::string> Platform::GetOSKernelDescription() { in GetOSKernelDescription()
385 void Platform::AddClangModuleCompilationOptions( in AddClangModuleCompilationOptions()
394 FileSpec Platform::GetWorkingDirectory() { in GetWorkingDirectory()
413 Platform *platform_ptr;
506 Status Platform::Install(const FileSpec &src, const FileSpec &dst) { in Install()
509 Log *log = GetLog(LLDBLog::Platform); in Install()
617 bool Platform::SetWorkingDirectory(const FileSpec &file_spec) { in SetWorkingDirectory()
619 Log *log = GetLog(LLDBLog::Platform); in SetWorkingDirectory()
632 Status Platform::MakeDirectory(const FileSpec &file_spec, in MakeDirectory()
644 Status Platform::GetFilePermissions(const FileSpec &file_spec, in GetFilePermissions()
659 Status Platform::SetFilePermissions(const FileSpec &file_spec, in SetFilePermissions()
672 user_id_t Platform::OpenFile(const FileSpec &file_spec, in OpenFile()
680 bool Platform::CloseFile(user_id_t fd, Status &error) { in CloseFile()
686 user_id_t Platform::GetFileSize(const FileSpec &file_spec) { in GetFileSize()
696 uint64_t Platform::ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst, in ReadFile()
706 uint64_t Platform::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile()
716 UserIDResolver &Platform::GetUserIDResolver() { in GetUserIDResolver()
722 const char *Platform::GetHostname() { in GetHostname()
731 ConstString Platform::GetFullNameForDylib(ConstString basename) { in GetFullNameForDylib()
735 bool Platform::SetRemoteWorkingDirectory(const FileSpec &working_dir) { in SetRemoteWorkingDirectory()
736 Log *log = GetLog(LLDBLog::Platform); in SetRemoteWorkingDirectory()
743 bool Platform::SetOSVersion(llvm::VersionTuple version) { in SetOSVersion()
766 Platform::ResolveExecutable(const ModuleSpec &module_spec, in ResolveExecutable()
801 Platform::ResolveRemoteExecutable(const ModuleSpec &module_spec, in ResolveRemoteExecutable()
866 Status Platform::ResolveSymbolFile(Target &target, const ModuleSpec &sym_spec, in ResolveSymbolFile()
876 bool Platform::ResolveRemotePath(const FileSpec &platform_path, in ResolveRemotePath()
883 const ArchSpec &Platform::GetSystemArchitecture() { in GetSystemArchitecture()
917 ArchSpec Platform::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec()
946 Status Platform::ConnectRemote(Args &args) { in ConnectRemote()
959 Status Platform::DisconnectRemote() { in DisconnectRemote()
973 bool Platform::GetProcessInfo(lldb::pid_t pid, in GetProcessInfo()
982 uint32_t Platform::FindProcesses(const ProcessInstanceInfoMatch &match_info, in FindProcesses()
992 ProcessInstanceInfoList Platform::GetAllProcesses() { in GetAllProcesses()
1000 Status Platform::LaunchProcess(ProcessLaunchInfo &launch_info) { in LaunchProcess()
1002 Log *log = GetLog(LLDBLog::Platform); in LaunchProcess()
1048 Status Platform::ShellExpandArguments(ProcessLaunchInfo &launch_info) { in ShellExpandArguments()
1054 Status Platform::KillProcess(const lldb::pid_t pid) { in KillProcess()
1055 Log *log = GetLog(LLDBLog::Platform); in KillProcess()
1066 lldb::ProcessSP Platform::DebugProcess(ProcessLaunchInfo &launch_info, in DebugProcess()
1069 Log *log = GetLog(LLDBLog::Platform); in DebugProcess()
1149 Platform::CreateArchList(llvm::ArrayRef<llvm::Triple::ArchType> archs, in CreateArchList()
1163 bool Platform::IsCompatibleArchitecture(const ArchSpec &arch, in IsCompatibleArchitecture()
1184 Status Platform::PutFile(const FileSpec &source, const FileSpec &destination, in PutFile()
1186 Log *log = GetLog(LLDBLog::Platform); in PutFile()
1244 Status Platform::GetFile(const FileSpec &source, const FileSpec &destination) { in GetFile()
1250 Platform::CreateSymlink(const FileSpec &src, // The name of the link is in src in CreateSymlink()
1258 bool Platform::GetFileExists(const lldb_private::FileSpec &file_spec) { in GetFileExists()
1264 Status Platform::Unlink(const FileSpec &path) { in Unlink()
1270 MmapArgList Platform::GetMmapArgumentList(const ArchSpec &arch, addr_t addr, in GetMmapArgumentList()
1284 lldb_private::Status Platform::RunShellCommand( in RunShellCommand()
1298 lldb_private::Status Platform::RunShellCommand( in RunShellCommand()
1316 bool Platform::CalculateMD5(const FileSpec &file_spec, uint64_t &low, in CalculateMD5()
1327 void Platform::SetLocalCacheDirectory(const char *local) { in SetLocalCacheDirectory()
1331 const char *Platform::GetLocalCacheDirectory() { in GetLocalCacheDirectory()
1408 Platform::SetThreadCreationBreakpoint(lldb_private::Target &target) { in SetThreadCreationBreakpoint()
1472 Environment Platform::GetEnvironment() { in GetEnvironment()
1478 const std::vector<ConstString> &Platform::GetTrapHandlerSymbolNames() { in GetTrapHandlerSymbolNames()
1490 Platform::GetCachedExecutable(ModuleSpec &module_spec, in GetCachedExecutable()
1509 Status Platform::GetRemoteSharedModule(const ModuleSpec &module_spec, in GetRemoteSharedModule()
1631 void Platform::CallLocateModuleCallbackIfSet(const ModuleSpec &module_spec, in CallLocateModuleCallbackIfSet()
1645 Log *log = GetLog(LLDBLog::Platform); in CallLocateModuleCallbackIfSet()
1737 bool Platform::GetCachedSharedModule(const ModuleSpec &module_spec, in GetCachedSharedModule()
1744 Log *log = GetLog(LLDBLog::Platform); in GetCachedSharedModule()
1770 Status Platform::DownloadModuleSlice(const FileSpec &src_file_spec, in DownloadModuleSlice()
1818 Status Platform::DownloadSymbolFile(const lldb::ModuleSP &module_sp, in DownloadSymbolFile()
1824 FileSpec Platform::GetModuleCacheRoot() { in GetModuleCacheRoot()
1830 const char *Platform::GetCacheHostname() { return GetHostname(); } in GetCacheHostname()
1832 const UnixSignalsSP &Platform::GetRemoteUnixSignals() { in GetRemoteUnixSignals()
1837 UnixSignalsSP Platform::GetUnixSignals() { in GetUnixSignals()
1843 uint32_t Platform::LoadImage(lldb_private::Process *process, in LoadImage()
1880 uint32_t Platform::DoLoadImage(lldb_private::Process *process, in DoLoadImage()
1889 uint32_t Platform::LoadImageUsingPaths(lldb_private::Process *process, in LoadImageUsingPaths()
1906 Status Platform::UnloadImage(lldb_private::Process *process, in UnloadImage()
1911 lldb::ProcessSP Platform::ConnectProcess(llvm::StringRef connect_url, in ConnectProcess()
1919 lldb::ProcessSP Platform::ConnectProcessSynchronous( in ConnectProcessSynchronous()
1926 lldb::ProcessSP Platform::DoConnectProcess(llvm::StringRef connect_url, in DoConnectProcess()
1983 size_t Platform::ConnectToWaitingProcesses(lldb_private::Debugger &debugger, in ConnectToWaitingProcesses()
1989 size_t Platform::GetSoftwareBreakpointTrapOpcode(Target &target, in GetSoftwareBreakpointTrapOpcode()
2126 CompilerType Platform::GetSiginfoType(const llvm::Triple& triple) { in GetSiginfoType()
2130 Args Platform::GetExtraStartupCommands() { in GetExtraStartupCommands()
2134 void Platform::SetLocateModuleCallback(LocateModuleCallback callback) { in SetLocateModuleCallback()
2138 Platform::LocateModuleCallback Platform::GetLocateModuleCallback() const { in GetLocateModuleCallback()
2220 PlatformSP host_platform_sp = Platform::GetHostPlatform(); in GetOrCreate()
2265 PlatformSP platform_sp = Platform::Create(name); in Create()