/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBPlatform.cpp | 344 PlatformSP platform_sp(GetSP()); in GetName() 345 if (platform_sp) in GetName() 346 return ConstString(platform_sp->GetName()).AsCString(); 352 void SBPlatform::SetSP(const lldb::PlatformSP &platform_sp) { 353 m_opaque_sp = platform_sp; in GetWorkingDirectory() 359 PlatformSP platform_sp(GetSP()); in GetWorkingDirectory() 360 if (platform_sp) in GetWorkingDirectory() 361 return platform_sp->GetWorkingDirectory().GetPathAsConstString().AsCString(); 368 PlatformSP platform_sp(GetSP()); in SetWorkingDirectory() 369 if (platform_sp) { in SetWorkingDirectory() 341 PlatformSP platform_sp(GetSP()); GetName() local 349 SetSP(const lldb::PlatformSP & platform_sp) SetSP() argument 356 PlatformSP platform_sp(GetSP()); GetWorkingDirectory() local 365 PlatformSP platform_sp(GetSP()); SetWorkingDirectory() local 380 PlatformSP platform_sp(GetSP()); ConnectRemote() local 394 PlatformSP platform_sp(GetSP()); DisconnectRemote() local 402 PlatformSP platform_sp(GetSP()); IsConnected() local 411 PlatformSP platform_sp(GetSP()); GetTriple() local 426 PlatformSP platform_sp(GetSP()); GetOSBuild() local 441 PlatformSP platform_sp(GetSP()); GetOSDescription() local 456 PlatformSP platform_sp(GetSP()); GetHostname() local 466 if (PlatformSP platform_sp = GetSP()) GetOSMajorVersion() local 475 if (PlatformSP platform_sp = GetSP()) GetOSMinorVersion() local 484 if (PlatformSP platform_sp = GetSP()) GetOSUpdateVersion() local 491 if (PlatformSP platform_sp = GetSP()) SetSDKRoot() local 499 PlatformSP platform_sp(GetSP()); Get() local 510 __anon7928ee700102(const lldb::PlatformSP &platform_sp) Put() argument 532 __anon7928ee700202(const lldb::PlatformSP &platform_sp) Install() argument 546 __anon7928ee700302(const lldb::PlatformSP &platform_sp) Run() argument 569 __anon7928ee700402(const lldb::PlatformSP &platform_sp) Launch() argument 579 __anon7928ee700502(const lldb::PlatformSP &platform_sp) Kill() argument 587 const auto platform_sp(GetSP()); ExecuteConnected() local 603 PlatformSP platform_sp(GetSP()); MakeDirectory() local 616 PlatformSP platform_sp(GetSP()); GetFilePermissions() local 630 PlatformSP platform_sp(GetSP()); SetFilePermissions() local 643 if (auto platform_sp = GetSP()) GetUnixSignals() local 651 PlatformSP platform_sp(GetSP()); GetEnvironment() local 663 PlatformSP platform_sp(GetSP()); SetLocateModuleCallback() local [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 | 1019 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in GetExtendedCrashInformation() local 1021 if (!platform_sp) in GetExtendedCrashInformation() 1025 platform_sp->FetchExtendedCrashInformation(*process_sp.get()); in GetExtendedCrashInformation() 1074 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImage() local 1075 return platform_sp->LoadImage(process_sp.get(), *sb_local_image_spec, in LoadImage() 1098 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in LoadImageUsingPaths() local 1106 uint32_t token = platform_sp->LoadImageUsingPaths( in LoadImageUsingPaths() 1131 PlatformSP platform_sp = process_sp->GetTarget().GetPlatform(); in UnloadImage() local 1133 platform_sp->UnloadImage(process_sp.get(), image_token)); in UnloadImage()
|
H A D | SBDebugger.cpp | 904 PlatformSP platform_sp = in CreateTargetWithFileAndArch() local 907 Platform::GetAugmentedArchSpec(platform_sp.get(), arch_cstr); in CreateTargetWithFileAndArch() 910 *m_opaque_sp, filename, arch, eLoadDependentsYes, platform_sp, in CreateTargetWithFileAndArch() 1518 if (PlatformSP platform_sp = platforms.GetOrCreate(platform_name_cstr)) in SetCurrentPlatform() local 1519 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() 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 | 1245 lldb::PlatformSP platform_sp, in Parse() argument 1298 if (!platform_sp) { in Parse() 1303 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); in Parse() 1307 if (!platform_sp && require_validation) { in Parse() 1315 if (platform_sp) { in Parse() 1320 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 | 521 lldb::PlatformSP platform_sp = in RemoteDiskFiles() local 523 if (platform_sp) in RemoteDiskFiles() 524 platform_sp->AutoCompleteDiskFileOrDirectory(request, false); in RemoteDiskFiles() 530 lldb::PlatformSP platform_sp = in RemoteDiskDirectories() local 532 if (platform_sp) in RemoteDiskDirectories() 533 platform_sp->AutoCompleteDiskFileOrDirectory(request, true); in RemoteDiskDirectories() 707 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessIDs() local 708 if (!platform_sp) in ProcessIDs() 712 platform_sp->FindProcesses(match_info, process_infos); in ProcessIDs() 721 lldb::PlatformSP platform_sp(interpreter.GetPlatform(true)); in ProcessNames() local [all …]
|
H A D | CommandOptionsProcessLaunch.cpp | 96 PlatformSP platform_sp = in SetOptionValue() 99 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg); in SetOptionValue() 94 PlatformSP platform_sp = SetOptionValue() local
|
H A D | CommandObjectProcess.cpp | 305 PlatformSP platform_sp( in DoExecute() local 892 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute() local 895 ? platform_sp->ConnectProcess( in DoExecute() 898 : platform_sp->ConnectProcessSynchronous( in DoExecute() 1422 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in DoExecute() local 1423 if (!platform_sp) { in DoExecute() 1429 platform_sp->FetchExtendedCrashInformation(*process); in DoExecute()
|
H A D | CommandObjectTarget.cpp | 104 PlatformSP platform_sp(target->GetPlatform()); in DumpTargetInfo() local 105 if (platform_sp) in DumpTargetInfo() 107 platform_sp->GetName()); in DumpTargetInfo() 317 PlatformSP platform_sp = target_sp->GetPlatform(); in DoExecute() local 326 if (platform_sp && platform_sp->IsHost() && in DoExecute() 332 if (platform_sp) { in DoExecute() 336 if (!platform_sp->GetFileExists(remote_file)) { in DoExecute() 337 Status err = platform_sp->PutFile(file_spec, remote_file); in DoExecute() 351 Status err = platform_sp->GetFile(remote_file, file_spec); in DoExecute() 365 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() 219 if (!platform_sp->IsCompatibleArchitecture( in CreateTargetInternal() 221 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 2096 for (const PlatformSP &platform_sp : m_platforms) { in GetOrCreate() local 2097 if (platform_sp->GetName() == name) in GetOrCreate() 2098 return platform_sp; in GetOrCreate() 2109 for (const auto &platform_sp : m_platforms) { in GetOrCreate() local 2110 if (platform_sp->IsCompatibleArchitecture( in GetOrCreate() 2112 return platform_sp; in GetOrCreate() 2116 for (const auto &platform_sp : m_platforms) { in GetOrCreate() local [all …]
|
H A D | Target.cpp | 96 const lldb::PlatformSP &platform_sp, bool is_dummy_target) in Target() argument 100 ExecutionContextScope(), m_debugger(debugger), m_platform_sp(platform_sp), in Target() 1551 auto platform_sp = GetPlatform(); in SetArchitecture() local 1552 if (!platform_sp || !platform_sp->IsCompatibleArchitecture( in SetArchitecture() 3058 PlatformSP platform_sp(GetPlatform()); in Install() local 3059 if (platform_sp) { in Install() 3060 if (platform_sp->IsRemote()) { in Install() 3061 if (platform_sp->IsConnected()) { in Install() 3078 remote_file = platform_sp->GetRemoteWorkingDirectory(); in Install() 3084 error = platform_sp->Install(local_file, remote_file); in Install() [all …]
|
H A D | Process.cpp | 1794 PlatformSP platform_sp(GetTarget().GetPlatform()); in GetSoftwareBreakpointTrapOpcode() local 1795 if (platform_sp) in GetSoftwareBreakpointTrapOpcode() 1796 return platform_sp->GetSoftwareBreakpointTrapOpcode(GetTarget(), bp_site); in GetSoftwareBreakpointTrapOpcode() 3020 PlatformSP platform_sp(GetTarget().GetPlatform()); in Attach() local 3022 if (platform_sp) { in Attach() 3026 platform_sp->FindProcesses(match_info, process_infos); in Attach() 3039 s, platform_sp->GetUserIDResolver(), true, false); in Attach() 3113 PlatformSP platform_sp(GetTarget().GetPlatform()); in CompleteAttach() local 3114 assert(platform_sp); in CompleteAttach() 3116 if (platform_sp) { in CompleteAttach() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Platform.h | 102 static void SetHostPlatform(const lldb::PlatformSP &platform_sp); 1012 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { in Append() argument 1014 m_platforms.push_back(platform_sp); in Append() 1025 lldb::PlatformSP platform_sp; in GetAtIndex() local 1029 platform_sp = m_platforms[idx]; in GetAtIndex() 1031 return platform_sp; in GetAtIndex() 1048 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { in SetSelectedPlatform() argument 1049 if (platform_sp) { in SetSelectedPlatform() 1053 if (m_platforms[idx].get() == platform_sp.get()) { in SetSelectedPlatform() 1058 m_platforms.push_back(platform_sp); in SetSelectedPlatform()
|
H A D | TargetList.h | 100 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp); 213 lldb::PlatformSP &platform_sp,
|
H A D | Target.h | 1446 void SetPlatform(const lldb::PlatformSP &platform_sp) { in SetPlatform() argument 1447 m_platform_sp = platform_sp; in SetPlatform() 1629 const lldb::PlatformSP &platform_sp, bool is_dummy_target);
|
/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/ExpressionParser/Clang/ |
H A D | ClangExpressionSourceCode.cpp | 360 if (lldb::PlatformSP platform_sp = target->GetPlatform()) { in GetText() local 361 if (platform_sp->GetPluginName() == "ios-simulator") { in GetText()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemote.cpp | 680 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoLaunch() local 692 } else if (platform_sp && platform_sp->IsHost()) { in DoLaunch() 869 PlatformSP platform_sp = GetTarget().GetPlatform(); in ConnectToDebugserver() local 870 if (platform_sp) { in ConnectToDebugserver() 871 handle_cmds(platform_sp->GetExtraStartupCommands()); in ConnectToDebugserver() 977 PlatformSP platform_sp = GetTarget().GetPlatform(); in DidLaunchOrAttach() local 978 if (platform_sp && platform_sp->IsConnected()) in DidLaunchOrAttach() 979 SetUnixSignals(platform_sp->GetUnixSignals()); in DidLaunchOrAttach() 2464 PlatformSP platform_sp(GetTarget().GetPlatform()); in DoDestroy() local 2465 if (platform_sp && platform_sp->IsHost()) { in DoDestroy() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DynamicLoaderPOSIXDYLD.cpp | 828 const auto platform_sp = target.GetPlatform(); in ResolveExecutableModule() local 850 auto error = platform_sp->ResolveExecutable( in ResolveExecutableModule()
|