Searched refs:platform_sp (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-current/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupPlatform.cpp23 PlatformSP platform_sp; local
26 platform_sp = platforms.Create(m_platform_name);
27 if (!platform_sp) {
32 if (platform_sp) {
34 !platform_sp->IsCompatibleArchitecture(
37 platform_sp->GetPluginName(),
39 platform_sp.reset();
40 return platform_sp;
44 platform_sp = platforms.GetOrCreate(arch, {}, &platform_arch, error);
47 if (platform_sp) {
[all...]
H A DOptions.cpp1259 lldb::PlatformSP platform_sp,
1313 if (!platform_sp) {
1318 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP();
1322 if (!platform_sp && require_validation) {
1331 if (platform_sp) {
1336 if (validator && !validator->IsValid(*platform_sp, *exe_ctx_p)) {
/freebsd-current/contrib/llvm-project/lldb/source/API/
H A DSBPlatform.cpp344 PlatformSP platform_sp(GetSP());
345 if (platform_sp)
346 return ConstString(platform_sp->GetName()).AsCString();
352 void SBPlatform::SetSP(const lldb::PlatformSP &platform_sp) { argument
353 m_opaque_sp = platform_sp;
359 PlatformSP platform_sp(GetSP());
360 if (platform_sp)
361 return platform_sp->GetWorkingDirectory().GetPathAsConstString().AsCString();
368 PlatformSP platform_sp(GetSP());
369 if (platform_sp) {
[all...]
H A DSBUnixSignals.cpp30 SBUnixSignals::SBUnixSignals(PlatformSP &platform_sp) argument
31 : m_opaque_wp(platform_sp ? platform_sp->GetUnixSignals() : nullptr) {}
H A DSBProcess.cpp962 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform();
964 if (!platform_sp)
968 platform_sp->FetchExtendedCrashInformation(*process_sp.get());
1017 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); local
1018 return platform_sp->LoadImage(process_sp.get(), *sb_local_image_spec,
1041 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); local
1049 uint32_t token = platform_sp->LoadImageUsingPaths(
1074 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); local
1076 platform_sp->UnloadImage(process_sp.get(), image_token));
H A DSBDebugger.cpp904 PlatformSP platform_sp = local
907 Platform::GetAugmentedArchSpec(platform_sp.get(), arch_cstr);
910 *m_opaque_sp, filename, arch, eLoadDependentsYes, platform_sp,
1518 if (PlatformSP platform_sp = platforms.GetOrCreate(platform_name_cstr))
1519 platforms.SetSelectedPlatform(platform_sp);
/freebsd-current/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectPlatform.cpp180 PlatformSP platform_sp(m_platform_options.CreatePlatformWithOptions(
182 if (platform_sp) {
183 GetDebugger().GetPlatformList().SetSelectedPlatform(platform_sp); variable
185 platform_sp->GetStatus(result.GetOutputStream());
255 PlatformSP platform_sp; variable
257 platform_sp = target->GetPlatform();
259 if (!platform_sp) {
260 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
262 if (platform_sp) {
263 platform_sp
1149 PlatformSP platform_sp; variable
1298 PlatformSP platform_sp; variable
1454 PlatformSP platform_sp = variable
1565 PlatformSP platform_sp; variable
[all...]
H A DCommandOptionsProcessLaunch.cpp96 PlatformSP platform_sp = local
99 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg);
H A DCommandCompletions.cpp506 lldb::PlatformSP platform_sp = local
508 if (platform_sp)
509 platform_sp->AutoCompleteDiskFileOrDirectory(request, false);
515 lldb::PlatformSP platform_sp = local
517 if (platform_sp)
518 platform_sp->AutoCompleteDiskFileOrDirectory(request, true);
692 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true));
693 if (!platform_sp)
697 platform_sp->FindProcesses(match_info, process_infos);
706 lldb::PlatformSP platform_sp(interprete
[all...]
H A DCommandObjectProcess.cpp325 PlatformSP platform_sp(
915 PlatformSP platform_sp = m_interpreter.GetPlatform(true); variable
918 ? platform_sp->ConnectProcess(
921 : platform_sp->ConnectProcessSynchronous(
1468 PlatformSP platform_sp = process->GetTarget().GetPlatform(); variable
1469 if (!platform_sp) {
1475 platform_sp->FetchExtendedCrashInformation(*process);
H A DCommandObjectTarget.cpp104 PlatformSP platform_sp(target->GetPlatform());
105 if (platform_sp)
107 platform_sp->GetName());
335 PlatformSP platform_sp = target_sp->GetPlatform(); variable
344 if (platform_sp && platform_sp->IsHost() &&
350 if (platform_sp) {
354 if (!platform_sp->GetFileExists(remote_file)) {
355 Status err = platform_sp->PutFile(file_spec, remote_file);
369 Status err = platform_sp
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Target/
H A DTargetList.cpp65 PlatformSP &platform_sp, TargetSP &target_sp) {
69 platform_sp, target_sp);
84 PlatformSP platform_sp = platform_list.GetSelectedPlatform(); local
101 !platform_options->PlatformMatches(platform_sp)) {
103 platform_sp = platform_options->CreatePlatformWithOptions(
106 if (!platform_sp)
127 if (platform_sp->IsHost() &&
189 platform_sp = platform_for_archs_sp;
219 if (!platform_sp->IsCompatibleArchitecture(
221 platform_sp
61 CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path, const ArchSpec &specified_arch, LoadDependentFiles load_dependent_files, PlatformSP &platform_sp, TargetSP &target_sp) argument
246 CreateTargetInternal(Debugger &debugger, llvm::StringRef user_exe_path, const ArchSpec &specified_arch, LoadDependentFiles load_dependent_files, lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp) argument
[all...]
H A DPlatform.cpp145 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { argument
148 GetHostPlatformSP() = platform_sp;
179 // PlatformSP platform_sp(create_callback(process, &arch));
180 // if (platform_sp)
181 // return platform_sp;
190 // PlatformSP platform_sp(create_callback(process, nullptr));
191 // if (platform_sp)
192 // return platform_sp;
251 lldb::PlatformSP platform_sp; local
2144 for (const PlatformSP &platform_sp
2177 PlatformSP platform_sp = create_callback(false, &arch); local
2189 PlatformSP platform_sp = create_callback(false, &arch); local
2265 PlatformSP platform_sp = Platform::Create(name); local
2279 PlatformSP platform_sp = create_callback(true, &arch); local
[all...]
H A DTarget.cpp95 const lldb::PlatformSP &platform_sp, bool is_dummy_target)
99 ExecutionContextScope(), m_debugger(debugger), m_platform_sp(platform_sp),
1550 auto platform_sp = GetPlatform(); local
1551 if (!platform_sp || !platform_sp->IsCompatibleArchitecture(
3070 PlatformSP platform_sp(GetPlatform());
3071 if (platform_sp) {
3072 if (platform_sp->IsRemote()) {
3073 if (platform_sp->IsConnected()) {
3090 remote_file = platform_sp
94 Target(Debugger &debugger, const ArchSpec &target_arch, const lldb::PlatformSP &platform_sp, bool is_dummy_target) argument
3441 const auto platform_sp = local
3504 PlatformSP platform_sp = GetPlatform(); local
[all...]
H A DProcess.cpp1762 PlatformSP platform_sp(GetTarget().GetPlatform());
1763 if (platform_sp)
1764 return platform_sp->GetSoftwareBreakpointTrapOpcode(GetTarget(), bp_site);
2857 PlatformSP platform_sp(GetTarget().GetPlatform());
2859 if (platform_sp) {
2863 platform_sp->FindProcesses(match_info, process_infos);
2876 s, platform_sp->GetUserIDResolver(), true, false);
2953 PlatformSP platform_sp(GetTarget().GetPlatform());
2954 assert(platform_sp);
2956 if (platform_sp) {
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Target/
H A DTargetList.h100 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp);
213 lldb::PlatformSP &platform_sp,
H A DPlatform.h100 static void SetHostPlatform(const lldb::PlatformSP &platform_sp);
1030 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { argument
1032 m_platforms.push_back(platform_sp);
1043 lldb::PlatformSP platform_sp; local
1047 platform_sp = m_platforms[idx];
1049 return platform_sp;
1066 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { argument
1067 if (platform_sp) {
1071 if (m_platforms[idx].get() == platform_sp.get()) {
1076 m_platforms.push_back(platform_sp);
[all...]
H A DTarget.h1433 void SetPlatform(const lldb::PlatformSP &platform_sp) { argument
1434 m_platform_sp = platform_sp;
1615 const lldb::PlatformSP &platform_sp, bool is_dummy_target);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/API/
H A DSBUnixSignals.h59 SBUnixSignals(lldb::PlatformSP &platform_sp);
H A DSBPlatform.h199 void SetSP(const lldb::PlatformSP &platform_sp);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionGroupPlatform.h62 bool PlatformMatches(const lldb::PlatformSP &platform_sp) const;
H A DOptions.h115 /// param[in] platform_sp
127 lldb::PlatformSP platform_sp,
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp360 if (lldb::PlatformSP platform_sp = target->GetPlatform()) {
361 if (platform_sp->GetPluginName() == "ios-simulator") {
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp680 PlatformSP platform_sp(GetTarget().GetPlatform());
692 } else if (platform_sp && platform_sp->IsHost()) {
869 PlatformSP platform_sp = GetTarget().GetPlatform(); local
870 if (platform_sp) {
871 handle_cmds(platform_sp->GetExtraStartupCommands());
977 PlatformSP platform_sp = GetTarget().GetPlatform(); local
978 if (platform_sp && platform_sp->IsConnected())
979 SetUnixSignals(platform_sp
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DDynamicLoader.cpp194 PlatformSP platform_sp = process->GetTarget().GetPlatform(); local

Completed in 390 milliseconds

12