Lines Matching refs:platform_sp
23 PlatformSP platform_sp; in CreatePlatformWithOptions() local
26 platform_sp = platforms.Create(m_platform_name); in CreatePlatformWithOptions()
27 if (!platform_sp) { in CreatePlatformWithOptions()
32 if (platform_sp) { in CreatePlatformWithOptions()
34 !platform_sp->IsCompatibleArchitecture( in CreatePlatformWithOptions()
37 platform_sp->GetPluginName(), in CreatePlatformWithOptions()
39 platform_sp.reset(); in CreatePlatformWithOptions()
40 return platform_sp; in CreatePlatformWithOptions()
44 platform_sp = platforms.GetOrCreate(arch, {}, &platform_arch, error); in CreatePlatformWithOptions()
47 if (platform_sp) { in CreatePlatformWithOptions()
49 platforms.SetSelectedPlatform(platform_sp); in CreatePlatformWithOptions()
51 platform_sp->SetOSVersion(m_os_version); in CreatePlatformWithOptions()
54 platform_sp->SetSDKRootDirectory(m_sdk_sysroot); in CreatePlatformWithOptions()
57 platform_sp->SetSDKBuild(m_sdk_build); in CreatePlatformWithOptions()
60 return platform_sp; in CreatePlatformWithOptions()
130 const lldb::PlatformSP &platform_sp) const { in PlatformMatches()
131 if (!platform_sp) in PlatformMatches()
134 if (!m_platform_name.empty() && platform_sp->GetName() != m_platform_name) in PlatformMatches()
137 if (!m_sdk_build.empty() && platform_sp->GetSDKBuild() != m_sdk_build) in PlatformMatches()
141 platform_sp->GetSDKRootDirectory() != m_sdk_sysroot) in PlatformMatches()
144 if (!m_os_version.empty() && platform_sp->GetOSVersion() != m_os_version) in PlatformMatches()