| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBPlatform.cpp | 340 PlatformSP platform_sp(GetSP()); in GetName() local 341 if (platform_sp) in GetName() 342 return ConstString(platform_sp->GetName()).AsCString(); in GetName() 348 void SBPlatform::SetSP(const lldb::PlatformSP &platform_sp) { in SetSP() argument 349 m_opaque_sp = platform_sp; in SetSP() 355 PlatformSP platform_sp(GetSP()); in GetWorkingDirectory() local 356 if (platform_sp) in GetWorkingDirectory() 357 return platform_sp->GetWorkingDirectory().GetPathAsConstString().AsCString(); in GetWorkingDirectory() 364 PlatformSP platform_sp(GetSP()); in SetWorkingDirectory() local 365 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 | 945 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in GetExtendedCrashInformation() local 947 if (!platform_sp) in GetExtendedCrashInformation() 951 platform_sp->FetchExtendedCrashInformation(*process_sp.get()); in GetExtendedCrashInformation() 995 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImage() local 996 return platform_sp->LoadImage(process_sp.get(), *sb_local_image_spec, in LoadImage() 1019 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImageUsingPaths() local 1027 uint32_t token = platform_sp->LoadImageUsingPaths( in LoadImageUsingPaths() 1052 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in UnloadImage() local 1054 platform_sp->UnloadImage(process_sp.get(), image_token)); in UnloadImage()
|
| H A D | SBDebugger.cpp | 890 PlatformSP platform_sp = in CreateTargetWithFileAndArch() local 893 Platform::GetAugmentedArchSpec(platform_sp.get(), arch_cstr); in CreateTargetWithFileAndArch() 896 *m_opaque_sp, filename, arch, eLoadDependentsYes, platform_sp, in CreateTargetWithFileAndArch() 1501 if (PlatformSP platform_sp = platforms.GetOrCreate(platform_name_cstr)) in SetCurrentPlatform() local 1502 platforms.SetSelectedPlatform(platform_sp); in SetCurrentPlatform()
|
| /openbsd-src/gnu/llvm/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() 37 platform_sp->GetPluginName(), 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 | 1246 lldb::PlatformSP platform_sp, in Parse() argument 1300 if (!platform_sp) { in Parse() 1305 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); in Parse() 1309 if (!platform_sp && require_validation) { in Parse() 1318 if (platform_sp) { in Parse() 1323 if (validator && !validator->IsValid(*platform_sp, *exe_ctx_p)) { in Parse()
|
| /openbsd-src/gnu/llvm/lldb/source/Commands/ |
| H A D | CommandObjectPlatform.cpp | 176 PlatformSP platform_sp(m_platform_options.CreatePlatformWithOptions( in DoExecute() local 178 if (platform_sp) { in DoExecute() 179 GetDebugger().GetPlatformList().SetSelectedPlatform(platform_sp); in DoExecute() 181 platform_sp->GetStatus(result.GetOutputStream()); in DoExecute() 253 PlatformSP platform_sp; in DoExecute() local 255 platform_sp = target->GetPlatform(); in DoExecute() 257 if (!platform_sp) { in DoExecute() 258 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform(); in DoExecute() 260 if (platform_sp) { in DoExecute() 261 platform_sp->GetStatus(ostrm); in DoExecute() [all …]
|
| H A D | CommandCompletions.cpp | 499 lldb::PlatformSP platform_sp = in RemoteDiskFiles() local 501 if (platform_sp) in RemoteDiskFiles() 502 platform_sp->AutoCompleteDiskFileOrDirectory(request, false); in RemoteDiskFiles() 508 lldb::PlatformSP platform_sp = in RemoteDiskDirectories() local 510 if (platform_sp) in RemoteDiskDirectories() 511 platform_sp->AutoCompleteDiskFileOrDirectory(request, true); in RemoteDiskDirectories() 682 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessIDs() local 683 if (!platform_sp) in ProcessIDs() 687 platform_sp->FindProcesses(match_info, process_infos); in ProcessIDs() 696 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessNames() local [all …]
|
| H A D | CommandOptionsProcessLaunch.cpp | 94 PlatformSP platform_sp = in SetOptionValue() local 97 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg); in SetOptionValue()
|
| H A D | CommandObjectProcess.cpp | 381 PlatformSP platform_sp( in DoExecute() local 968 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute() local 971 ? platform_sp->ConnectProcess( in DoExecute() 974 : platform_sp->ConnectProcessSynchronous( in DoExecute() 1524 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in DoExecute() local 1525 if (!platform_sp) { in DoExecute() 1531 platform_sp->FetchExtendedCrashInformation(*process); in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 94 PlatformSP platform_sp(target->GetPlatform()); in DumpTargetInfo() local 95 if (platform_sp) in DumpTargetInfo() 97 platform_sp->GetName()); in DumpTargetInfo() 315 PlatformSP platform_sp = target_sp->GetPlatform(); in DoExecute() local 324 if (platform_sp && platform_sp->IsHost() && in DoExecute() 330 if (platform_sp) { in DoExecute() 334 if (!platform_sp->GetFileExists(remote_file)) { in DoExecute() 335 Status err = platform_sp->PutFile(file_spec, remote_file); in DoExecute() 349 Status err = platform_sp->GetFile(remote_file, file_spec); in DoExecute() 363 if (platform_sp->IsHost()) { in DoExecute() [all …]
|
| /openbsd-src/gnu/llvm/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() 219 if (!platform_sp->IsCompatibleArchitecture( in CreateTargetInternal() 221 platform_sp = platform_list.GetOrCreate(arch, {}, &platform_arch); in CreateTargetInternal() [all …]
|
| H A D | Platform.cpp | 148 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { in SetHostPlatform() argument 151 GetHostPlatformSP() = platform_sp; in SetHostPlatform() 255 lldb::PlatformSP platform_sp; in Create() local 1972 for (const PlatformSP &platform_sp : m_platforms) { in GetOrCreate() local 1973 if (platform_sp->GetName() == name) in GetOrCreate() 1974 return platform_sp; in GetOrCreate() 1985 for (const auto &platform_sp : m_platforms) { in GetOrCreate() local 1986 if (platform_sp->IsCompatibleArchitecture( in GetOrCreate() 1988 return platform_sp; in GetOrCreate() 1992 for (const auto &platform_sp : m_platforms) { in GetOrCreate() local [all …]
|
| H A D | Target.cpp | 93 const lldb::PlatformSP &platform_sp, bool is_dummy_target) in Target() argument 97 ExecutionContextScope(), m_debugger(debugger), m_platform_sp(platform_sp), in Target() 1501 auto platform_sp = GetPlatform(); in SetArchitecture() local 1502 if (!platform_sp || !platform_sp->IsCompatibleArchitecture( in SetArchitecture() 2956 PlatformSP platform_sp(GetPlatform()); in Install() local 2957 if (platform_sp) { in Install() 2958 if (platform_sp->IsRemote()) { in Install() 2959 if (platform_sp->IsConnected()) { in Install() 2976 remote_file = platform_sp->GetRemoteWorkingDirectory(); in Install() 2982 error = platform_sp->Install(local_file, remote_file); in Install() [all …]
|
| H A D | Process.cpp | 1750 PlatformSP platform_sp(GetTarget().GetPlatform()); in GetSoftwareBreakpointTrapOpcode() local 1751 if (platform_sp) in GetSoftwareBreakpointTrapOpcode() 1752 return platform_sp->GetSoftwareBreakpointTrapOpcode(GetTarget(), bp_site); in GetSoftwareBreakpointTrapOpcode() 2828 PlatformSP platform_sp(GetTarget().GetPlatform()); in Attach() local 2830 if (platform_sp) { in Attach() 2834 platform_sp->FindProcesses(match_info, process_infos); in Attach() 2847 s, platform_sp->GetUserIDResolver(), true, false); in Attach() 2924 PlatformSP platform_sp(GetTarget().GetPlatform()); in CompleteAttach() local 2925 assert(platform_sp); in CompleteAttach() 2927 if (platform_sp) { in CompleteAttach() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Target/ |
| H A D | Platform.h | 100 static void SetHostPlatform(const lldb::PlatformSP &platform_sp); 981 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { in Append() argument 983 m_platforms.push_back(platform_sp); in Append() 994 lldb::PlatformSP platform_sp; in GetAtIndex() local 998 platform_sp = m_platforms[idx]; in GetAtIndex() 1000 return platform_sp; in GetAtIndex() 1017 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { in SetSelectedPlatform() argument 1018 if (platform_sp) { in SetSelectedPlatform() 1022 if (m_platforms[idx].get() == platform_sp.get()) { in SetSelectedPlatform() 1027 m_platforms.push_back(platform_sp); in SetSelectedPlatform()
|
| H A D | TargetList.h | 100 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp); 206 lldb::PlatformSP &platform_sp,
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/API/ |
| H A D | SBUnixSignals.h | 59 SBUnixSignals(lldb::PlatformSP &platform_sp);
|
| H A D | SBPlatform.h | 178 void SetSP(const lldb::PlatformSP &platform_sp);
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Interpreter/ |
| H A D | OptionGroupPlatform.h | 60 bool PlatformMatches(const lldb::PlatformSP &platform_sp) const;
|
| H A D | Options.h | 126 lldb::PlatformSP platform_sp,
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
| H A D | DynamicLoaderDarwinKernel.cpp | 512 PlatformSP platform_sp = in DynamicLoaderDarwinKernel() local 515 if (platform_sp.get()) in DynamicLoaderDarwinKernel() 516 process->GetTarget().SetPlatform(platform_sp); in DynamicLoaderDarwinKernel() 782 PlatformSP platform_sp(target.GetPlatform()); in LoadImageUsingMemoryModule() local 783 if (!m_module_sp && platform_sp) { in LoadImageUsingMemoryModule() 786 if (platform_sp->GetPluginName() == g_platform_name.GetStringRef()) { in LoadImageUsingMemoryModule() 791 platform_sp->GetSharedModule(kext_bundle_module_spec, process, in LoadImageUsingMemoryModule()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemote.cpp | 674 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoLaunch() local 686 } else if (platform_sp && platform_sp->IsHost()) { in DoLaunch() 863 PlatformSP platform_sp = GetTarget().GetPlatform(); in ConnectToDebugserver() local 864 if (platform_sp) { in ConnectToDebugserver() 865 handle_cmds(platform_sp->GetExtraStartupCommands()); in ConnectToDebugserver() 974 PlatformSP platform_sp = GetTarget().GetPlatform(); in DidLaunchOrAttach() local 975 if (platform_sp && platform_sp->IsConnected()) in DidLaunchOrAttach() 976 SetUnixSignals(platform_sp->GetUnixSignals()); in DidLaunchOrAttach() 2376 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoDestroy() local 2377 if (platform_sp && platform_sp->IsHost()) { in DoDestroy() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionSourceCode.cpp | 348 if (lldb::PlatformSP platform_sp = target->GetPlatform()) { in GetText() local 349 if (platform_sp->GetPluginName() == "ios-simulator") { in GetText()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformDarwinKernel.cpp | 969 PlatformSP platform_sp = in LoadPlatformBinaryAndSetup() local 972 if (platform_sp) in LoadPlatformBinaryAndSetup() 973 process->GetTarget().SetPlatform(platform_sp); in LoadPlatformBinaryAndSetup()
|