Lines Matching refs:platform_sp
21 PlatformSP platform_sp; in CreatePlatformWithOptions() local
24 platform_sp = Platform::Create(ConstString(m_platform_name.c_str()), error); in CreatePlatformWithOptions()
25 if (platform_sp) { in CreatePlatformWithOptions()
27 !platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) { in CreatePlatformWithOptions()
29 platform_sp->GetName().GetCString(), in CreatePlatformWithOptions()
31 platform_sp.reset(); in CreatePlatformWithOptions()
32 return platform_sp; in CreatePlatformWithOptions()
36 platform_sp = Platform::Create(arch, &platform_arch, error); in CreatePlatformWithOptions()
39 if (platform_sp) { in CreatePlatformWithOptions()
40 interpreter.GetDebugger().GetPlatformList().Append(platform_sp, in CreatePlatformWithOptions()
43 platform_sp->SetOSVersion(m_os_version); in CreatePlatformWithOptions()
46 platform_sp->SetSDKRootDirectory(m_sdk_sysroot); in CreatePlatformWithOptions()
49 platform_sp->SetSDKBuild(m_sdk_build); in CreatePlatformWithOptions()
52 return platform_sp; in CreatePlatformWithOptions()
122 const lldb::PlatformSP &platform_sp) const { in PlatformMatches()
123 if (platform_sp) { in PlatformMatches()
125 if (platform_sp->GetName() != ConstString(m_platform_name.c_str())) in PlatformMatches()
129 if (m_sdk_build && m_sdk_build != platform_sp->GetSDKBuild()) in PlatformMatches()
132 if (m_sdk_sysroot && m_sdk_sysroot != platform_sp->GetSDKRootDirectory()) in PlatformMatches()
135 if (!m_os_version.empty() && m_os_version != platform_sp->GetOSVersion()) in PlatformMatches()