| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBPlatform.cpp | 341 if (platform_sp) in GetName() 356 if (platform_sp) in GetWorkingDirectory() 365 if (platform_sp) { in SetWorkingDirectory() 394 if (platform_sp) in DisconnectRemote() 402 if (platform_sp) in IsConnected() 411 if (platform_sp) { in GetTriple() 426 if (platform_sp) { in GetOSBuild() 441 if (platform_sp) { in GetOSDescription() 456 if (platform_sp) in GetHostname() 499 if (platform_sp) { in Get() [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()
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionGroupPlatform.cpp | 23 PlatformSP platform_sp; in CreatePlatformWithOptions() local 27 if (!platform_sp) { in CreatePlatformWithOptions() 32 if (platform_sp) { in CreatePlatformWithOptions() 38 platform_sp.reset(); in CreatePlatformWithOptions() 39 return platform_sp; in CreatePlatformWithOptions() 46 if (platform_sp) { in CreatePlatformWithOptions() 48 platforms.SetSelectedPlatform(platform_sp); in CreatePlatformWithOptions() 50 platform_sp->SetOSVersion(m_os_version); in CreatePlatformWithOptions() 56 platform_sp->SetSDKBuild(m_sdk_build); in CreatePlatformWithOptions() 59 return platform_sp; in CreatePlatformWithOptions() [all …]
|
| H A D | Options.cpp | 1233 lldb::PlatformSP platform_sp, in Parse() argument 1287 if (!platform_sp) { in Parse() 1292 platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); in Parse() 1296 if (!platform_sp && require_validation) { in Parse() 1305 if (platform_sp) { in Parse() 1310 if (validator && !validator->IsValid(*platform_sp, *exe_ctx_p)) { in Parse()
|
| /llvm-project-15.0.7/lldb/unittests/Platform/ |
| H A D | PlatformTest.cpp | 82 Platform::SetHostPlatform(platform_sp); in SetHostPlatform() 84 list.Append(platform_sp, /*set_selected=*/true); in SetHostPlatform() 97 ASSERT_TRUE(platform_sp); in TEST_F() 110 ASSERT_FALSE(platform_sp); in TEST_F() 116 ASSERT_TRUE(platform_sp); in TEST_F() 117 EXPECT_EQ(platform_sp, selected_platform_sp); in TEST_F() 129 ASSERT_TRUE(platform_sp); in TEST_F() 137 ASSERT_TRUE(platform_sp); in TEST_F() 138 EXPECT_EQ(platform_sp, selected_platform_sp); in TEST_F() 155 ASSERT_TRUE(platform_sp); in TEST_F() [all …]
|
| H A D | PlatformAppleSimulatorTest.cpp | 32 auto platform_sp = Platform::Create(name); in testSimPlatformArchHasSimEnvironment() local 33 ASSERT_TRUE(platform_sp); in testSimPlatformArchHasSimEnvironment() 36 for (auto arch : platform_sp->GetSupportedArchitectures({})) { in testSimPlatformArchHasSimEnvironment() 66 auto platform_sp = list.GetOrCreate(arch, {}, nullptr); in TEST_F() local 67 EXPECT_TRUE(platform_sp); in TEST_F() 92 auto platform_sp = list.GetOrCreate(arch, {}, nullptr, error); in TEST_F() local 93 EXPECT_TRUE(platform_sp); in TEST_F() 94 EXPECT_TRUE(platform_sp->GetName().contains("simulator")); in TEST_F()
|
| H A D | PlatformSiginfoTest.cpp | 33 PlatformSP platform_sp; member in __anon835f45670111::PlatformSiginfoTest 87 platform_sp = in InitializeSiginfo() 91 platform_sp = platform_linux::PlatformLinux::CreateInstance(true, &arch); in InitializeSiginfo() 94 platform_sp = in InitializeSiginfo() 100 Platform::SetHostPlatform(platform_sp); in InitializeSiginfo() 106 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in InitializeSiginfo() 109 siginfo_type = platform_sp->GetSiginfoType(arch.GetTriple()); in InitializeSiginfo()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectPlatform.cpp | 257 if (!platform_sp) { in DoExecute() 260 if (platform_sp) { in DoExecute() 290 if (platform_sp) { in DoExecute() 313 if (platform_sp) { in GetOptions() 336 if (platform_sp) { in DoExecute() 398 if (platform_sp) { in DoExecute() 434 if (platform_sp) { in DoExecute() 492 if (platform_sp) { in DoExecute() 546 if (platform_sp) { in DoExecute() 590 if (platform_sp) { in DoExecute() [all …]
|
| H A D | CommandCompletions.cpp | 499 lldb::PlatformSP platform_sp = in RemoteDiskFiles() local 501 if (platform_sp) 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 697 if (!platform_sp) in ProcessNames() [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 | 380 PlatformSP platform_sp( in DoExecute() local 967 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute() local 970 ? platform_sp->ConnectProcess( in DoExecute() 973 : platform_sp->ConnectProcessSynchronous( in DoExecute() 1523 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in DoExecute() local 1524 if (!platform_sp) { in DoExecute() 1530 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() 324 if (platform_sp && platform_sp->IsHost() && in DoExecute() 330 if (platform_sp) { in DoExecute() 363 if (platform_sp->IsHost()) { in DoExecute() 368 if (platform_sp->IsConnected() && !platform_sp->GetFileExists(remote_file)) { in DoExecute() 3399 PlatformSP platform_sp(target->GetPlatform()); in DoExecute() local 3400 if (platform_sp) { in DoExecute() 4429 if (platform_sp) { in DoExecute() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | TargetList.cpp | 69 platform_sp, target_sp); in CreateTarget() 106 if (!platform_sp) in CreateTargetInternal() 127 if (platform_sp->IsHost() && in CreateTargetInternal() 189 platform_sp = platform_for_archs_sp; in CreateTargetInternal() 221 if (platform_sp) in CreateTargetInternal() 229 platform_sp = in CreateTargetInternal() 231 if (platform_sp) in CreateTargetInternal() 259 if (!platform_sp || in CreateTargetInternal() 261 platform_sp = in CreateTargetInternal() 265 if (!platform_sp) in CreateTargetInternal() [all …]
|
| H A D | Platform.cpp | 150 GetHostPlatformSP() = platform_sp; in SetHostPlatform() 254 lldb::PlatformSP platform_sp; in Create() local 1956 return platform_sp; in GetOrCreate() 1970 return platform_sp; in GetOrCreate() 1977 return platform_sp; in GetOrCreate() 1987 if (platform_sp && platform_sp->IsCompatibleArchitecture( in GetOrCreate() 1990 return platform_sp; in GetOrCreate() 1998 if (platform_sp && platform_sp->IsCompatibleArchitecture( in GetOrCreate() 2001 return platform_sp; in GetOrCreate() 2074 m_platforms.push_back(platform_sp); in Create() [all …]
|
| H A D | Target.cpp | 1489 auto platform_sp = GetPlatform(); in SetArchitecture() local 1490 if (!platform_sp || in SetArchitecture() 2861 if (platform_sp) { in Install() 2862 if (platform_sp->IsRemote()) { in Install() 2863 if (platform_sp->IsConnected()) { in Install() 3231 const auto platform_sp = in Attach() local 3243 platform_sp->CanDebugProcess()) { in Attach() 3244 SetPlatform(platform_sp); in Attach() 3297 bool(platform_sp), in FinalizeFileActions() 3298 platform_sp ? (platform_sp->IsHost() ? "true" : "false") : "n/a", in FinalizeFileActions() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | ExecutionContextTest.cpp | 84 PlatformSP platform_sp; in TEST_F() local 86 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in TEST_F() 89 ASSERT_TRUE(platform_sp); in TEST_F() 106 PlatformSP platform_sp; in TEST_F() local 108 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in TEST_F() 111 ASSERT_TRUE(platform_sp); in TEST_F()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Platform.h | 99 static void SetHostPlatform(const lldb::PlatformSP &platform_sp); 952 void Append(const lldb::PlatformSP &platform_sp, bool set_selected) { in Append() argument 954 m_platforms.push_back(platform_sp); in Append() 965 lldb::PlatformSP platform_sp; in GetAtIndex() local 969 platform_sp = m_platforms[idx]; in GetAtIndex() 971 return platform_sp; in GetAtIndex() 988 void SetSelectedPlatform(const lldb::PlatformSP &platform_sp) { in SetSelectedPlatform() argument 989 if (platform_sp) { in SetSelectedPlatform() 993 if (m_platforms[idx].get() == platform_sp.get()) { in SetSelectedPlatform() 998 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,
|
| /llvm-project-15.0.7/lldb/unittests/Thread/ |
| H A D | ThreadTest.cpp | 85 PlatformSP platform_sp; in CreateTarget() local 88 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in CreateTarget()
|
| /llvm-project-15.0.7/lldb/unittests/Expression/ |
| H A D | DWARFExpressionTest.cpp | 359 lldb::PlatformSP platform_sp; in TEST_F() local 361 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in TEST_F() 364 ASSERT_TRUE(platform_sp); in TEST_F()
|
| /llvm-project-15.0.7/lldb/include/lldb/API/ |
| H A D | SBUnixSignals.h | 59 SBUnixSignals(lldb::PlatformSP &platform_sp);
|
| /llvm-project-15.0.7/lldb/unittests/Process/ |
| H A D | ProcessEventDataTest.cpp | 112 PlatformSP platform_sp; in CreateTarget() local 115 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in CreateTarget()
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionGroupPlatform.h | 60 bool PlatformMatches(const lldb::PlatformSP &platform_sp) const;
|
| /llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
| H A D | DynamicLoaderDarwinKernel.cpp | 514 PlatformSP platform_sp = in DynamicLoaderDarwinKernel() local 517 if (platform_sp.get()) in DynamicLoaderDarwinKernel() 518 process->GetTarget().SetPlatform(platform_sp); in DynamicLoaderDarwinKernel() 807 PlatformSP platform_sp(target.GetPlatform()); in LoadImageUsingMemoryModule() local 808 if (!m_module_sp && platform_sp) { in LoadImageUsingMemoryModule() 811 if (platform_sp->GetPluginName() == g_platform_name.GetStringRef()) { in LoadImageUsingMemoryModule() 816 platform_sp->GetSharedModule(kext_bundle_module_spec, process, in LoadImageUsingMemoryModule()
|