| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBPlatform.cpp | 343 PlatformSP platform_sp(GetSP()); in GetName() local 344 if (platform_sp) in GetName() 345 return ConstString(platform_sp->GetName()).AsCString(); in GetName() 351 void SBPlatform::SetSP(const lldb::PlatformSP &platform_sp) { in SetSP() argument 352 m_opaque_sp = platform_sp; in SetSP() 358 PlatformSP platform_sp(GetSP()); in GetWorkingDirectory() local 359 if (platform_sp) in GetWorkingDirectory() 360 return platform_sp->GetWorkingDirectory().GetPathAsConstString().AsCString(); in GetWorkingDirectory() 367 PlatformSP platform_sp(GetSP()); in SetWorkingDirectory() local 368 if (platform_sp) { in SetWorkingDirectory() [all …]
|
| H A D | SBUnixSignals.cpp | 30 SBUnixSignals::SBUnixSignals(PlatformSP &platform_sp) in SBUnixSignals() argument 31 : m_opaque_wp(platform_sp ? platform_sp->GetUnixSignals() : nullptr) {} in SBUnixSignals()
|
| H A D | SBProcess.cpp | 1034 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in GetExtendedCrashInformation() local 1036 if (!platform_sp) in GetExtendedCrashInformation() 1040 platform_sp->FetchExtendedCrashInformation(*process_sp.get()); in GetExtendedCrashInformation() 1090 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImage() local 1091 return platform_sp->LoadImage(process_sp.get(), *sb_local_image_spec, in LoadImage() 1114 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImageUsingPaths() local 1122 uint32_t token = platform_sp->LoadImageUsingPaths( in LoadImageUsingPaths() 1147 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in UnloadImage() local 1149 platform_sp->UnloadImage(process_sp.get(), image_token)); in UnloadImage()
|
| H A D | SBDebugger.cpp | 864 PlatformSP platform_sp = in CreateTargetWithFileAndArch() local 867 Platform::GetAugmentedArchSpec(platform_sp.get(), arch_cstr); in CreateTargetWithFileAndArch() 870 *m_opaque_sp, filename, arch, eLoadDependentsYes, platform_sp, in CreateTargetWithFileAndArch() 1509 if (PlatformSP platform_sp = platforms.GetOrCreate(platform_name_cstr)) in SetCurrentPlatform() local 1510 platforms.SetSelectedPlatform(platform_sp); in SetCurrentPlatform()
|
| /freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | OptionGroupPlatform.cpp | 23 PlatformSP platform_sp; in CreatePlatformWithOptions() local 26 platform_sp = platforms.Create(m_platform_name); in CreatePlatformWithOptions() 27 if (!platform_sp) { in CreatePlatformWithOptions() 32 if (platform_sp) { in CreatePlatformWithOptions() 34 !platform_sp->IsCompatibleArchitecture( in CreatePlatformWithOptions() 38 platform_sp->GetPluginName(), arch.GetTriple().getTriple()); in CreatePlatformWithOptions() 39 platform_sp.reset(); in CreatePlatformWithOptions() 40 return platform_sp; in CreatePlatformWithOptions() 44 platform_sp = platforms.GetOrCreate(arch, {}, &platform_arch, error); in CreatePlatformWithOptions() 47 if (platform_sp) { in CreatePlatformWithOptions() [all …]
|
| H A D | Options.cpp | 1280 lldb::PlatformSP platform_sp, in Parse() argument 1340 if (!platform_sp) { in Parse() 1345 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); in Parse() 1349 if (!platform_sp && require_validation) { in Parse() 1357 if (platform_sp) { in Parse() 1362 if (validator && !validator->IsValid(*platform_sp, *exe_ctx_p)) { in Parse()
|
| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectPlatform.cpp | 179 PlatformSP platform_sp(m_platform_options.CreatePlatformWithOptions( in DoExecute() local 181 if (platform_sp) { in DoExecute() 182 GetDebugger().GetPlatformList().SetSelectedPlatform(platform_sp); in DoExecute() 184 platform_sp->GetStatus(result.GetOutputStream()); in DoExecute() 254 PlatformSP platform_sp; in DoExecute() local 256 platform_sp = target->GetPlatform(); in DoExecute() 258 if (!platform_sp) { in DoExecute() 259 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform(); in DoExecute() 261 if (platform_sp) { in DoExecute() 262 platform_sp->GetStatus(ostrm); in DoExecute() [all …]
|
| H A D | CommandCompletions.cpp | 530 lldb::PlatformSP platform_sp = in RemoteDiskFiles() local 532 if (platform_sp) in RemoteDiskFiles() 533 platform_sp->AutoCompleteDiskFileOrDirectory(request, false); in RemoteDiskFiles() 539 lldb::PlatformSP platform_sp = in RemoteDiskDirectories() local 541 if (platform_sp) in RemoteDiskDirectories() 542 platform_sp->AutoCompleteDiskFileOrDirectory(request, true); in RemoteDiskDirectories() 716 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessIDs() local 717 if (!platform_sp) in ProcessIDs() 721 platform_sp->FindProcesses(match_info, process_infos); in ProcessIDs() 730 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessNames() local [all …]
|
| H A D | CommandOptionsProcessLaunch.cpp | 96 PlatformSP platform_sp = in SetOptionValue() local 99 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg); in SetOptionValue()
|
| H A D | CommandObjectProcess.cpp | 315 PlatformSP platform_sp( in DoExecute() local 919 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute() local 922 ? platform_sp->ConnectProcess( in DoExecute() 925 : platform_sp->ConnectProcessSynchronous( in DoExecute() 1476 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in DoExecute() local 1477 if (!platform_sp) { in DoExecute() 1483 platform_sp->FetchExtendedCrashInformation(*process); in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 105 PlatformSP platform_sp(target->GetPlatform()); in DumpTargetInfo() local 106 if (platform_sp) in DumpTargetInfo() 108 platform_sp->GetName()); in DumpTargetInfo() 318 PlatformSP platform_sp = target_sp->GetPlatform(); in DoExecute() local 327 if (platform_sp && platform_sp->IsHost() && in DoExecute() 333 if (platform_sp) { in DoExecute() 337 if (!platform_sp->GetFileExists(remote_file)) { in DoExecute() 338 Status err = platform_sp->PutFile(file_spec, remote_file); in DoExecute() 352 Status err = platform_sp->GetFile(remote_file, file_spec); in DoExecute() 366 if (platform_sp->IsHost()) { in DoExecute() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | TargetList.cpp | 65 PlatformSP &platform_sp, TargetSP &target_sp) { in CreateTarget() argument 69 platform_sp, target_sp); in CreateTarget() 84 PlatformSP platform_sp = platform_list.GetSelectedPlatform(); in CreateTargetInternal() local 101 !platform_options->PlatformMatches(platform_sp)) { in CreateTargetInternal() 103 platform_sp = platform_options->CreatePlatformWithOptions( in CreateTargetInternal() 106 if (!platform_sp) in CreateTargetInternal() 127 if (platform_sp->IsHost() && in CreateTargetInternal() 189 platform_sp = platform_for_archs_sp; in CreateTargetInternal() 220 if (!platform_sp->IsCompatibleArchitecture( in CreateTargetInternal() 222 platform_sp = platform_list.GetOrCreate(arch, {}, &platform_arch); in CreateTargetInternal() [all …]
|
| H A D | Platform.cpp | 145 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { in SetHostPlatform() argument 148 GetHostPlatformSP() = platform_sp; in SetHostPlatform() 217 lldb::PlatformSP platform_sp; in Create() local 2108 for (const PlatformSP &platform_sp : m_platforms) { in GetOrCreate() local 2109 if (platform_sp->GetName() == name) in GetOrCreate() 2110 return platform_sp; in GetOrCreate() 2121 for (const auto &platform_sp : m_platforms) { in GetOrCreate() local 2122 if (platform_sp->IsCompatibleArchitecture( in GetOrCreate() 2124 return platform_sp; in GetOrCreate() 2128 for (const auto &platform_sp : m_platforms) { in GetOrCreate() local [all …]
|
| H A D | Target.cpp | 173 const lldb::PlatformSP &platform_sp, bool is_dummy_target) in Target() argument 177 ExecutionContextScope(), m_debugger(debugger), m_platform_sp(platform_sp), in Target() 1705 auto platform_sp = GetPlatform(); in SetArchitecture() local 1706 if (!platform_sp || !platform_sp->IsCompatibleArchitecture( in SetArchitecture() 1713 platform_sp->GetLocateModuleCallback()); in SetArchitecture() 3217 PlatformSP platform_sp(GetPlatform()); in Install() local 3218 if (!platform_sp || !platform_sp->IsRemote() || !platform_sp->IsConnected()) in Install() 3228 MainExecutableInstaller installer{platform_sp, module_sp, in Install() 3232 ExecutableInstaller installer{platform_sp, module_sp}; in Install() 3386 PlatformSP platform_sp(GetPlatform()); in Launch() local [all …]
|
| H A D | Process.cpp | 1735 PlatformSP platform_sp(GetTarget().GetPlatform()); in GetSoftwareBreakpointTrapOpcode() local 1736 if (platform_sp) in GetSoftwareBreakpointTrapOpcode() 1737 return platform_sp->GetSoftwareBreakpointTrapOpcode(GetTarget(), bp_site); in GetSoftwareBreakpointTrapOpcode() 2986 PlatformSP platform_sp(GetTarget().GetPlatform()); in Attach() local 2988 if (platform_sp) { in Attach() 2992 platform_sp->FindProcesses(match_info, process_infos); in Attach() 3005 s, platform_sp->GetUserIDResolver(), true, false); in Attach() 3075 PlatformSP platform_sp(GetTarget().GetPlatform()); in CompleteAttach() local 3076 assert(platform_sp); in CompleteAttach() 3078 if (platform_sp) { in CompleteAttach() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Platform.h | 105 static void SetHostPlatform(const lldb::PlatformSP &platform_sp); 1075 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { in Append() argument 1077 m_platforms.push_back(platform_sp); in Append() 1088 lldb::PlatformSP platform_sp; in GetAtIndex() local 1092 platform_sp = m_platforms[idx]; in GetAtIndex() 1094 return platform_sp; in GetAtIndex() 1111 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { in SetSelectedPlatform() argument 1112 if (platform_sp) { in SetSelectedPlatform() 1116 if (m_platforms[idx].get() == platform_sp.get()) { in SetSelectedPlatform() 1121 m_platforms.push_back(platform_sp); in SetSelectedPlatform()
|
| H A D | TargetList.h | 99 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp); 212 lldb::PlatformSP &platform_sp,
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
| H A D | SBUnixSignals.h | 59 SBUnixSignals(lldb::PlatformSP &platform_sp);
|
| H A D | SBPlatform.h | 199 void SetSP(const lldb::PlatformSP &platform_sp);
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | OptionGroupPlatform.h | 62 bool PlatformMatches(const lldb::PlatformSP &platform_sp) const;
|
| H A D | Options.h | 127 lldb::PlatformSP platform_sp,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/ |
| H A D | Resource.cpp | 206 if (lldb::PlatformSP platform_sp = target_sp->GetPlatform()) in ReadTargetResource() local 207 target_resource.platform = platform_sp->GetName(); in ReadTargetResource()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| H A D | ThreadElfCore.cpp | 275 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in CalculateStopInfo() local 276 if (platform_sp) { in CalculateStopInfo() 277 lldb::StopInfoSP stopinfo_sp = platform_sp->GetStopInfoFromSiginfo(*this); in CalculateStopInfo()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionSourceCode.cpp | 359 if (lldb::PlatformSP platform_sp = target->GetPlatform()) { in GetText() local 360 if (platform_sp->GetPluginName() == "ios-simulator") { in GetText()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemote.cpp | 690 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoLaunch() local 702 } else if (platform_sp && platform_sp->IsHost()) { in DoLaunch() 879 PlatformSP platform_sp = GetTarget().GetPlatform(); in ConnectToDebugserver() local 880 if (platform_sp) { in ConnectToDebugserver() 881 handle_cmds(platform_sp->GetExtraStartupCommands()); in ConnectToDebugserver() 987 PlatformSP platform_sp = GetTarget().GetPlatform(); in DidLaunchOrAttach() local 988 if (platform_sp && platform_sp->IsConnected()) in DidLaunchOrAttach() 989 SetUnixSignals(platform_sp->GetUnixSignals()); in DidLaunchOrAttach() 2553 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoDestroy() local 2554 if (platform_sp && platform_sp->IsHost()) { in DoDestroy() [all …]
|