Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBPlatform.cpp225 if (platform_sp) in GetName()
238 if (platform_sp) in GetWorkingDirectory()
245 if (platform_sp) { in SetWorkingDirectory()
271 if (platform_sp) in DisconnectRemote()
277 if (platform_sp) in IsConnected()
284 if (platform_sp) { in GetTriple()
297 if (platform_sp) { in GetOSBuild()
312 if (platform_sp) { in GetOSDescription()
327 if (platform_sp) in GetHostname()
356 if (platform_sp) { in Get()
[all …]
H A DSBUnixSignals.cpp30 SBUnixSignals::SBUnixSignals(PlatformSP &platform_sp) in SBUnixSignals() argument
31 : m_opaque_wp(platform_sp ? platform_sp->GetUnixSignals() : nullptr) {} in SBUnixSignals()
H A DSBDebugger.cpp1118 PlatformSP platform_sp(Platform::Find(platform_name)); in SetCurrentPlatform() local
1120 if (platform_sp) { in SetCurrentPlatform()
1122 m_opaque_sp->GetPlatformList().SetSelectedPlatform(platform_sp); in SetCurrentPlatform()
1125 platform_sp = Platform::Create(platform_name, sb_error.ref()); in SetCurrentPlatform()
1126 if (platform_sp) { in SetCurrentPlatform()
1129 m_opaque_sp->GetPlatformList().Append(platform_sp, make_selected); in SetCurrentPlatform()
1144 PlatformSP platform_sp( in SetCurrentPlatformSDKRoot() local
1147 if (platform_sp) { in SetCurrentPlatformSDKRoot()
1150 platform_sp->SetSDKRootDirectory(ConstString(sysroot)); in SetCurrentPlatformSDKRoot()
H A DSBProcess.cpp1168 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImage() local
1169 return platform_sp->LoadImage(process_sp.get(), *sb_local_image_spec, in LoadImage()
1204 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImageUsingPaths() local
1212 uint32_t token = platform_sp->LoadImageUsingPaths(process_sp.get(), in LoadImageUsingPaths()
1246 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in UnloadImage() local
1248 platform_sp->UnloadImage(process_sp.get(), image_token)); in UnloadImage()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionGroupPlatform.cpp22 PlatformSP platform_sp; in CreatePlatformWithOptions() local
26 if (platform_sp) { in CreatePlatformWithOptions()
32 platform_sp.reset(); in CreatePlatformWithOptions()
33 return platform_sp; in CreatePlatformWithOptions()
40 if (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()
[all …]
H A DOptions.cpp1332 lldb::PlatformSP platform_sp, in Parse() argument
1398 if (!platform_sp) { in Parse()
1403 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); in Parse()
1407 if (!platform_sp && require_validation) { in Parse()
1416 if (platform_sp) { in Parse()
1421 if (validator && !validator->IsValid(*platform_sp, *exe_ctx_p)) { in Parse()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectPlatform.cpp287 platform_sp = in DoExecute()
290 if (platform_sp) { in DoExecute()
320 if (platform_sp) { in DoExecute()
347 if (platform_sp) { in GetOptions()
372 if (platform_sp) { in DoExecute()
441 if (platform_sp) { in DoExecute()
479 if (platform_sp) { in DoExecute()
530 if (platform_sp) { in DoExecute()
1030 platform_sp = in DoExecute()
1140 platform_sp = in DoExecute()
[all …]
H A DCommandObjectProcess.cpp396 PlatformSP platform_sp(interpreter.GetPlatform(true)); in HandleOptionArgumentCompletion() local
397 if (platform_sp) { in HandleOptionArgumentCompletion()
405 platform_sp->FindProcesses(match_info, process_infos); in HandleOptionArgumentCompletion()
437 PlatformSP platform_sp( in DoExecute() local
904 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute() local
905 ProcessSP process_sp = platform_sp->ConnectProcess( in DoExecute()
H A DCommandObjectTarget.cpp86 PlatformSP platform_sp(target->GetPlatform()); in DumpTargetInfo() local
87 if (platform_sp) in DumpTargetInfo()
89 platform_sp->GetName().GetCString()); in DumpTargetInfo()
333 PlatformSP platform_sp = target_sp->GetPlatform(); in DoExecute() local
336 if (platform_sp) { in DoExecute()
340 if (!platform_sp->GetFileExists(remote_file)) { in DoExecute()
341 Status err = platform_sp->PutFile(file_spec, remote_file); in DoExecute()
354 if (!platform_sp) { in DoExecute()
4425 PlatformSP platform_sp(target->GetPlatform()); in DoExecute() local
4436 if (platform_sp) { in DoExecute()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DTargetList.cpp83 PlatformSP platform_sp; in CreateTargetInternal() local
113 if (!platform_sp) in CreateTargetInternal()
188 if (platform_sp) { in CreateTargetInternal()
191 platforms.push_back(platform_sp); in CreateTargetInternal()
199 (!platform_sp || in CreateTargetInternal()
236 platform_sp = platforms.front(); in CreateTargetInternal()
273 if (!is_dummy_target && platform_sp) in CreateTargetInternal()
284 if (!is_dummy_target && platform_sp) in CreateTargetInternal()
336 if (!platform_sp || in CreateTargetInternal()
341 if (!platform_sp) in CreateTargetInternal()
[all …]
H A DPlatform.cpp163 if (platform_sp) { in SetHostPlatform()
279 return platform_sp; in Find()
304 if (platform_sp) { in Create()
309 return platform_sp; in Create()
323 return platform_sp; in Create()
330 return platform_sp; in Create()
342 if (platform_sp && in Create()
357 if (platform_sp && in Create()
370 platform_sp.reset(); in Create()
371 return platform_sp; in Create()
[all …]
H A DTarget.cpp1504 auto platform_sp = GetPlatform(); in SetArchitecture() local
1505 if (!platform_sp || in SetArchitecture()
2669 if (platform_sp) { in Install()
2670 if (platform_sp->IsRemote()) { in Install()
2671 if (platform_sp->IsConnected()) { in Install()
2853 platform_sp->CanDebugProcess()) { in Launch()
2998 const auto platform_sp = in Attach() local
3011 SetPlatform(platform_sp); in Attach()
3064 bool(platform_sp), in FinalizeFileActions()
3065 platform_sp ? (platform_sp->IsHost() ? "true" : "false") : "n/a", in FinalizeFileActions()
[all …]
H A DProcess.cpp478 PlatformSP platform_sp = in SetOptionValue() local
1982 PlatformSP platform_sp(GetTarget().GetPlatform()); in GetSoftwareBreakpointTrapOpcode() local
1983 if (platform_sp) in GetSoftwareBreakpointTrapOpcode()
3034 if (platform_sp) { in Attach()
3130 PlatformSP platform_sp(GetTarget().GetPlatform()); in CompleteAttach() local
3131 assert(platform_sp); in CompleteAttach()
3132 if (platform_sp) { in CompleteAttach()
3137 platform_sp = in CompleteAttach()
3139 if (platform_sp) { in CompleteAttach()
3140 GetTarget().SetPlatform(platform_sp); in CompleteAttach()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DPlatform.h104 static void SetHostPlatform(const lldb::PlatformSP &platform_sp);
1053 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { in Append() argument
1055 m_platforms.push_back(platform_sp); in Append()
1066 lldb::PlatformSP platform_sp; in GetAtIndex() local
1070 platform_sp = m_platforms[idx]; in GetAtIndex()
1072 return platform_sp; in GetAtIndex()
1091 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { in SetSelectedPlatform() argument
1092 if (platform_sp) { in SetSelectedPlatform()
1096 if (m_platforms[idx].get() == platform_sp.get()) { in SetSelectedPlatform()
1101 m_platforms.push_back(platform_sp); in SetSelectedPlatform()
H A DTargetList.h105 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp);
225 lldb::PlatformSP &platform_sp,
H A DTarget.h1214 void SetPlatform(const lldb::PlatformSP &platform_sp) { in SetPlatform() argument
1215 m_platform_sp = platform_sp; in SetPlatform()
1347 const lldb::PlatformSP &platform_sp, bool is_dummy_target);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessFreeBSD.cpp307 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoAttachToProcessWithID() local
308 assert(platform_sp.get()); in DoAttachToProcessWithID()
309 if (!platform_sp) in DoAttachToProcessWithID()
314 platform_sp->GetProcessInfo(pid, process_info); in DoAttachToProcessWithID()
322 error = platform_sp->ResolveExecutable( in DoAttachToProcessWithID()
504 PlatformSP platform_sp(target->GetPlatform()); in DoDidExec() local
505 assert(platform_sp.get()); in DoDidExec()
506 if (platform_sp) { in DoDidExec()
514 Status error = platform_sp->ResolveExecutable( in DoDidExec()
887 PlatformSP platform_sp = GetTarget().GetPlatform(); in GetAuxvData() local
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBUnixSignals.h58 SBUnixSignals(lldb::PlatformSP &platform_sp);
H A DSBPlatform.h156 void SetSP(const lldb::PlatformSP &platform_sp);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DExpressionSourceCode.cpp192 if (lldb::PlatformSP platform_sp = target->GetPlatform()) { in GetText() local
194 if (platform_sp->GetPluginName() == g_platform_ios_simulator) { in GetText()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DOptionGroupPlatform.h64 bool PlatformMatches(const lldb::PlatformSP &platform_sp) const;
H A DOptions.h138 lldb::PlatformSP platform_sp,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp785 PlatformSP platform_sp = GetTarget().GetPlatform(); in DoConnectRemote() local
786 if (platform_sp && platform_sp->IsConnected()) in DoConnectRemote()
787 SetUnixSignals(platform_sp->GetUnixSignals()); in DoConnectRemote()
870 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoLaunch() local
882 } else if (platform_sp && platform_sp->IsHost()) { in DoLaunch()
2531 if (platform_sp && platform_sp->GetName() && in DoDestroy()
2639 if (platform_sp && platform_sp->IsHost()) { in DoDestroy()
3478 PlatformSP platform_sp(GetTarget().GetPlatform()); in EstablishConnectionIfNeeded() local
3479 if (platform_sp && !platform_sp->IsHost()) in EstablishConnectionIfNeeded()
4006 PlatformSP platform_sp(GetTarget().GetPlatform()); in StartNoticingNewThreads() local
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp718 const auto platform_sp = target.GetPlatform(); in ResolveExecutableModule() local
741 auto error = platform_sp->ResolveExecutable( in ResolveExecutableModule()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DModule.cpp1523 PlatformSP platform_sp(target->GetPlatform()); in LoadScriptingResourceInTarget() local
1525 if (!platform_sp) { in LoadScriptingResourceInTarget()
1530 FileSpecList file_specs = platform_sp->LocateExecutableScriptingResources( in LoadScriptingResourceInTarget()

12