Home
last modified time | relevance | path

Searched refs:platform_sp (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupPlatform.cpp21 PlatformSP platform_sp; in CreatePlatformWithOptions() local
25 if (platform_sp) { in CreatePlatformWithOptions()
31 platform_sp.reset(); in CreatePlatformWithOptions()
32 return platform_sp; in CreatePlatformWithOptions()
39 if (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()
[all …]
H A DOptions.cpp1288 lldb::PlatformSP platform_sp, in Parse() argument
1342 if (!platform_sp) { in Parse()
1347 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); in Parse()
1351 if (!platform_sp && require_validation) { in Parse()
1360 if (platform_sp) { in Parse()
1365 if (validator && !validator->IsValid(*platform_sp, *exe_ctx_p)) { in Parse()
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBPlatform.cpp373 if (platform_sp) in GetName()
388 if (platform_sp) in GetWorkingDirectory()
398 if (platform_sp) { in SetWorkingDirectory()
428 if (platform_sp) in DisconnectRemote()
436 if (platform_sp) in IsConnected()
445 if (platform_sp) { in GetTriple()
460 if (platform_sp) { in GetOSBuild()
477 if (platform_sp) { in GetOSDescription()
494 if (platform_sp) in GetHostname()
532 if (platform_sp) { in Get()
[all …]
H A DSBUnixSignals.cpp32 SBUnixSignals::SBUnixSignals(PlatformSP &platform_sp) in SBUnixSignals() argument
33 : m_opaque_wp(platform_sp ? platform_sp->GetUnixSignals() : nullptr) {} in SBUnixSignals()
H A DSBDebugger.cpp850 PlatformSP platform_sp = m_opaque_sp->GetPlatformList() in CreateTargetWithFileAndArch() local
852 ArchSpec arch = Platform::GetAugmentedArchSpec(platform_sp.get(), in CreateTargetWithFileAndArch()
856 arch, eLoadDependentsYes, platform_sp, target_sp); in CreateTargetWithFileAndArch()
1482 PlatformSP platform_sp(Platform::Find(platform_name)); in SetCurrentPlatform() local
1484 if (platform_sp) { in SetCurrentPlatform()
1486 m_opaque_sp->GetPlatformList().SetSelectedPlatform(platform_sp); in SetCurrentPlatform()
1489 platform_sp = Platform::Create(platform_name, sb_error.ref()); in SetCurrentPlatform()
1490 if (platform_sp) { in SetCurrentPlatform()
1511 PlatformSP platform_sp( in SetCurrentPlatformSDKRoot() local
1514 if (platform_sp) { in SetCurrentPlatformSDKRoot()
[all …]
H A DSBProcess.cpp1001 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in GetExtendedCrashInformation() local
1003 if (!platform_sp) in GetExtendedCrashInformation()
1007 platform_sp->FetchExtendedCrashInformation(*process_sp.get()); in GetExtendedCrashInformation()
1058 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImage() local
1059 return platform_sp->LoadImage(process_sp.get(), *sb_local_image_spec, in LoadImage()
1085 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImageUsingPaths() local
1093 uint32_t token = platform_sp->LoadImageUsingPaths( in LoadImageUsingPaths()
1119 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in UnloadImage() local
1121 platform_sp->UnloadImage(process_sp.get(), image_token)); in UnloadImage()
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectPlatform.cpp257 if (!platform_sp) { in DoExecute()
260 if (platform_sp) { in DoExecute()
287 if (platform_sp) { in DoExecute()
310 if (platform_sp) { in GetOptions()
333 if (platform_sp) { in DoExecute()
397 if (platform_sp) { in DoExecute()
431 if (platform_sp) { in DoExecute()
487 if (platform_sp) { in DoExecute()
539 if (platform_sp) { in DoExecute()
581 if (platform_sp) { in DoExecute()
[all …]
H A DCommandCompletions.cpp497 lldb::PlatformSP platform_sp = in RemoteDiskFiles() local
499 if (platform_sp) in RemoteDiskFiles()
506 lldb::PlatformSP platform_sp = in RemoteDiskDirectories() local
508 if (platform_sp) in RemoteDiskDirectories()
509 platform_sp->AutoCompleteDiskFileOrDirectory(request, true); in RemoteDiskDirectories()
680 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessIDs() local
681 if (!platform_sp) in ProcessIDs()
685 platform_sp->FindProcesses(match_info, process_infos); in ProcessIDs()
694 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessNames() local
695 if (!platform_sp) in ProcessNames()
[all …]
H A DCommandOptionsProcessLaunch.cpp92 PlatformSP platform_sp = in SetOptionValue() local
95 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg); in SetOptionValue()
H A DCommandObjectProcess.cpp356 PlatformSP platform_sp( in DoExecute() local
789 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute() local
792 ? platform_sp->ConnectProcess( in DoExecute()
795 : platform_sp->ConnectProcessSynchronous( in DoExecute()
1358 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in DoExecute() local
1359 if (!platform_sp) { in DoExecute()
1365 platform_sp->FetchExtendedCrashInformation(*process); in DoExecute()
H A DCommandObjectTarget.cpp84 PlatformSP platform_sp(target->GetPlatform()); in DumpTargetInfo() local
85 if (platform_sp) in DumpTargetInfo()
87 platform_sp->GetName().GetCString()); in DumpTargetInfo()
333 PlatformSP platform_sp = target_sp->GetPlatform(); in DoExecute() local
336 if (platform_sp) { in DoExecute()
3352 PlatformSP platform_sp(target->GetPlatform()); in DoExecute() local
3353 if (platform_sp) { in DoExecute()
3355 platform_sp->GetTrapHandlerSymbolNames()); in DoExecute()
4258 PlatformSP platform_sp(target->GetPlatform()); in DoExecute() local
4269 if (platform_sp) { in DoExecute()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DTargetList.cpp69 platform_sp, target_sp); in CreateTarget()
105 if (!platform_sp) in CreateTargetInternal()
181 if (platform_sp) { in CreateTargetInternal()
184 platforms.push_back(platform_sp); in CreateTargetInternal()
192 (!platform_sp || in CreateTargetInternal()
229 platform_sp = platforms.front(); in CreateTargetInternal()
262 if (platform_sp) in CreateTargetInternal()
272 if (platform_sp) in CreateTargetInternal()
300 if (!platform_sp || in CreateTargetInternal()
305 if (!platform_sp) in CreateTargetInternal()
[all …]
H A DPlatform.cpp168 if (platform_sp) { in SetHostPlatform()
283 return platform_sp; in Find()
308 if (platform_sp) { in Create()
313 return platform_sp; in Create()
327 return platform_sp; in Create()
334 return platform_sp; in Create()
346 if (platform_sp && in Create()
361 if (platform_sp && in Create()
374 platform_sp.reset(); in Create()
375 return platform_sp; in Create()
[all …]
H A DTarget.cpp1474 auto platform_sp = GetPlatform(); in SetArchitecture() local
1475 if (!platform_sp || in SetArchitecture()
2781 PlatformSP platform_sp(GetPlatform()); in Install() local
2782 if (platform_sp) { in Install()
2783 if (platform_sp->IsRemote()) { in Install()
2784 if (platform_sp->IsConnected()) { in Install()
3148 const auto platform_sp = in Attach() local
3160 platform_sp->CanDebugProcess()) { in Attach()
3161 SetPlatform(platform_sp); in Attach()
3214 bool(platform_sp), in FinalizeFileActions()
[all …]
H A DProcess.cpp1719 PlatformSP platform_sp(GetTarget().GetPlatform()); in GetSoftwareBreakpointTrapOpcode() local
1720 if (platform_sp) in GetSoftwareBreakpointTrapOpcode()
2781 if (platform_sp) { in Attach()
2876 PlatformSP platform_sp(GetTarget().GetPlatform()); in CompleteAttach() local
2877 assert(platform_sp); in CompleteAttach()
2878 if (platform_sp) { in CompleteAttach()
2883 platform_sp = in CompleteAttach()
2885 if (platform_sp) { in CompleteAttach()
2886 GetTarget().SetPlatform(platform_sp); in CompleteAttach()
5764 if (!platform_sp) in GetProcessInfo()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/
H A DPlatform.h105 static void SetHostPlatform(const lldb::PlatformSP &platform_sp);
961 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { in Append() argument
963 m_platforms.push_back(platform_sp); in Append()
974 lldb::PlatformSP platform_sp; in GetAtIndex() local
978 platform_sp = m_platforms[idx]; in GetAtIndex()
980 return platform_sp; in GetAtIndex()
997 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { in SetSelectedPlatform() argument
998 if (platform_sp) { in SetSelectedPlatform()
1002 if (m_platforms[idx].get() == platform_sp.get()) { in SetSelectedPlatform()
1007 m_platforms.push_back(platform_sp); in SetSelectedPlatform()
H A DTargetList.h100 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp);
206 lldb::PlatformSP &platform_sp,
H A DTarget.h1338 void SetPlatform(const lldb::PlatformSP &platform_sp) { in SetPlatform() argument
1339 m_platform_sp = platform_sp; in SetPlatform()
1476 const lldb::PlatformSP &platform_sp, bool is_dummy_target);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/
H A DSBUnixSignals.h59 SBUnixSignals(lldb::PlatformSP &platform_sp);
H A DSBPlatform.h176 void SetSP(const lldb::PlatformSP &platform_sp);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionGroupPlatform.h60 bool PlatformMatches(const lldb::PlatformSP &platform_sp) const;
H A DOptions.h126 lldb::PlatformSP platform_sp,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp725 PlatformSP platform_sp = GetTarget().GetPlatform(); in DoConnectRemote() local
726 if (platform_sp && platform_sp->IsConnected()) in DoConnectRemote()
727 SetUnixSignals(platform_sp->GetUnixSignals()); in DoConnectRemote()
809 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoLaunch() local
821 } else if (platform_sp && platform_sp->IsHost()) { in DoLaunch()
2483 if (platform_sp && platform_sp->GetName() && in DoDestroy()
2591 if (platform_sp && platform_sp->IsHost()) { in DoDestroy()
3433 PlatformSP platform_sp(GetTarget().GetPlatform()); in EstablishConnectionIfNeeded() local
3434 if (platform_sp && !platform_sp->IsHost()) in EstablishConnectionIfNeeded()
3998 PlatformSP platform_sp(GetTarget().GetPlatform()); in StartNoticingNewThreads() local
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp313 if (lldb::PlatformSP platform_sp = target->GetPlatform()) { in GetText() local
315 if (platform_sp->GetPluginName() == g_platform_ios_simulator) { in GetText()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp744 const auto platform_sp = target.GetPlatform(); in ResolveExecutableModule() local
766 auto error = platform_sp->ResolveExecutable( in ResolveExecutableModule()

12