Lines Matching refs:platform_sp
22 PlatformSP platform_sp; in CreatePlatformWithOptions() local
25 platform_sp = Platform::Create(ConstString(m_platform_name.c_str()), error); in CreatePlatformWithOptions()
26 if (platform_sp) { in CreatePlatformWithOptions()
28 !platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) { in CreatePlatformWithOptions()
30 platform_sp->GetName().GetCString(), in CreatePlatformWithOptions()
32 platform_sp.reset(); in CreatePlatformWithOptions()
33 return platform_sp; in CreatePlatformWithOptions()
37 platform_sp = Platform::Create(arch, &platform_arch, error); in CreatePlatformWithOptions()
40 if (platform_sp) { in CreatePlatformWithOptions()
41 interpreter.GetDebugger().GetPlatformList().Append(platform_sp, in CreatePlatformWithOptions()
44 platform_sp->SetOSVersion(m_os_version); in CreatePlatformWithOptions()
47 platform_sp->SetSDKRootDirectory(m_sdk_sysroot); in CreatePlatformWithOptions()
50 platform_sp->SetSDKBuild(m_sdk_build); in CreatePlatformWithOptions()
53 return platform_sp; in CreatePlatformWithOptions()
124 const lldb::PlatformSP &platform_sp) const { in PlatformMatches()
125 if (platform_sp) { in PlatformMatches()
127 if (platform_sp->GetName() != ConstString(m_platform_name.c_str())) in PlatformMatches()
131 if (m_sdk_build && m_sdk_build != platform_sp->GetSDKBuild()) in PlatformMatches()
134 if (m_sdk_sysroot && m_sdk_sysroot != platform_sp->GetSDKRootDirectory()) in PlatformMatches()
137 if (!m_os_version.empty() && m_os_version != platform_sp->GetOSVersion()) in PlatformMatches()