Home
last modified time | relevance | path

Searched refs:platform_sp (Results 1 – 19 of 19) sorted by relevance

/external/lldb/source/Interpreter/
DOptionGroupPlatform.cpp32 PlatformSP platform_sp; in CreatePlatformWithOptions() local
36 platform_sp = Platform::Create (m_platform_name.c_str(), error); in CreatePlatformWithOptions()
37 if (platform_sp) in CreatePlatformWithOptions()
39 …if (platform_arch.IsValid() && !platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) in CreatePlatformWithOptions()
42 platform_sp->GetName().GetCString(), in CreatePlatformWithOptions()
44 platform_sp.reset(); in CreatePlatformWithOptions()
45 return platform_sp; in CreatePlatformWithOptions()
51 platform_sp = Platform::Create (arch, &platform_arch, error); in CreatePlatformWithOptions()
54 if (platform_sp) in CreatePlatformWithOptions()
56 interpreter.GetDebugger().GetPlatformList().Append (platform_sp, make_selected); in CreatePlatformWithOptions()
[all …]
DCommandInterpreter.cpp2470 PlatformSP platform_sp; in GetPlatform() local
2476 platform_sp = target->GetPlatform(); in GetPlatform()
2479 if (!platform_sp) in GetPlatform()
2480 platform_sp = m_debugger.GetPlatformList().GetSelectedPlatform(); in GetPlatform()
2481 return platform_sp; in GetPlatform()
/external/lldb/source/Commands/
DCommandObjectPlatform.cpp99 …PlatformSP platform_sp (m_platform_options.CreatePlatformWithOptions (m_interpreter, ArchSpec(), s… in DoExecute() local
100 if (platform_sp) in DoExecute()
102 platform_sp->GetStatus (result.GetOutputStream()); in DoExecute()
211 PlatformSP platform_sp; in DoExecute() local
214 platform_sp = target->GetPlatform(); in DoExecute()
216 if (!platform_sp) in DoExecute()
218 platform_sp = m_interpreter.GetDebugger().GetPlatformList().GetSelectedPlatform(); in DoExecute()
220 if (platform_sp) in DoExecute()
222 platform_sp->GetStatus (ostrm); in DoExecute()
260 … PlatformSP platform_sp (m_interpreter.GetDebugger().GetPlatformList().GetSelectedPlatform()); in DoExecute() local
[all …]
DCommandObjectProcess.cpp271 PlatformSP platform_sp (target->GetPlatform()); in DoExecute() local
273 if (platform_sp && platform_sp->CanDebugProcess ()) in DoExecute()
488 PlatformSP platform_sp (m_interpreter.GetPlatform (true)); in HandleOptionArgumentCompletion() local
489 if (platform_sp) in HandleOptionArgumentCompletion()
498 platform_sp->FindProcesses (match_info, process_infos); in HandleOptionArgumentCompletion()
DCommandObjectTarget.cpp82 PlatformSP platform_sp (target->GetPlatform()); in DumpTargetInfo() local
83 if (platform_sp) in DumpTargetInfo()
84 …strm.Printf ("%splatform=%s", properties++ > 0 ? ", " : " ( ", platform_sp->GetName().GetCString()… in DumpTargetInfo()
4576 PlatformSP platform_sp (target->GetPlatform()); in DoExecute() local
4584 if (platform_sp) in DoExecute()
4587 … if (platform_sp->ResolveSymbolFile(*target, module_spec, symfile_spec).Success()) in DoExecute()
/external/lldb/source/Target/
DPlatform.cpp75 Platform::SetDefaultPlatform (const lldb::PlatformSP &platform_sp) in SetDefaultPlatform() argument
79 GetDefaultPlatformSP () = platform_sp; in SetDefaultPlatform()
156 lldb::PlatformSP platform_sp; in Create() local
162 platform_sp.reset(create_callback(true, NULL)); in Create()
168 return platform_sp; in Create()
175 lldb::PlatformSP platform_sp; in Create() local
186 platform_sp.reset(create_callback(false, &arch)); in Create()
187 … if (platform_sp && platform_sp->IsCompatibleArchitecture(arch, exact, platform_arch_ptr)) in Create()
188 return platform_sp; in Create()
197 platform_sp.reset(create_callback(false, &arch)); in Create()
[all …]
DTargetList.cpp71 PlatformSP platform_sp; in CreateTarget() local
153 platform_sp = platform_options->CreatePlatformWithOptions (interpreter, in CreateTarget()
158 if (!platform_sp) in CreateTarget()
163 if (!platform_sp) in CreateTarget()
167 platform_sp = debugger.GetPlatformList().GetSelectedPlatform (); in CreateTarget()
169 if (arch.IsValid() && !platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) in CreateTarget()
171 platform_sp = Platform::GetPlatformForArchitecture(arch, &platform_arch); in CreateTarget()
182 platform_sp, in CreateTarget()
192 PlatformSP &platform_sp, in CreateTarget() argument
203 if (platform_sp) in CreateTarget()
[all …]
DProcess.cpp2135 PlatformSP platform_sp (m_target.GetPlatform()); in GetSoftwareBreakpointTrapOpcode() local
2136 if (platform_sp) in GetSoftwareBreakpointTrapOpcode()
2137 return platform_sp->GetSoftwareBreakpointTrapOpcode (m_target, bp_site); in GetSoftwareBreakpointTrapOpcode()
3092 PlatformSP platform_sp (m_target.GetPlatform ()); in Attach() local
3094 if (platform_sp) in Attach()
3099 platform_sp->FindProcesses (match_info, process_infos); in Attach()
3180 PlatformSP platform_sp (m_target.GetPlatform ()); in CompleteAttach() local
3181 assert (platform_sp.get()); in CompleteAttach()
3182 if (platform_sp) in CompleteAttach()
3185 … if (target_arch.IsValid() && !platform_sp->IsCompatibleArchitecture (target_arch, false, NULL)) in CompleteAttach()
[all …]
DTarget.cpp62 Target::Target(Debugger &debugger, const ArchSpec &target_arch, const lldb::PlatformSP &platform_sp in Target() argument
67 m_platform_sp (platform_sp), in Target()
2452 PlatformSP platform_sp (m_target->GetPlatform()); in GetHostEnvironmentIfNeeded() local
2453 if (platform_sp) in GetHostEnvironmentIfNeeded()
2456 if (platform_sp->GetEnvironment(env)) in GetHostEnvironmentIfNeeded()
/external/lldb/include/lldb/Target/
DPlatform.h68 SetDefaultPlatform (const lldb::PlatformSP &platform_sp);
678 Append (const lldb::PlatformSP &platform_sp, bool set_selected) in Append() argument
681 m_platforms.push_back (platform_sp); in Append()
696 lldb::PlatformSP platform_sp; in GetAtIndex() local
700 platform_sp = m_platforms[idx]; in GetAtIndex()
702 return platform_sp; in GetAtIndex()
725 SetSelectedPlatform (const lldb::PlatformSP &platform_sp) in SetSelectedPlatform() argument
727 if (platform_sp) in SetSelectedPlatform()
733 if (m_platforms[idx].get() == platform_sp.get()) in SetSelectedPlatform()
739 m_platforms.push_back (platform_sp); in SetSelectedPlatform()
DTargetList.h118 lldb::PlatformSP &platform_sp,
DTarget.h427 const lldb::PlatformSP &platform_sp);
1155 SetPlatform (const lldb::PlatformSP &platform_sp) in SetPlatform() argument
1157 m_platform_sp = platform_sp; in SetPlatform()
/external/lldb/source/API/
DSBDebugger.cpp638 PlatformSP platform_sp(m_opaque_sp->GetPlatformList().GetSelectedPlatform()); in CreateTarget() local
643 platform_sp, in CreateTarget()
1107 PlatformSP platform_sp (Platform::Create (platform_name, sb_error.ref())); in SetCurrentPlatform() local
1109 if (platform_sp) in SetCurrentPlatform()
1112 m_opaque_sp->GetPlatformList().Append (platform_sp, make_selected); in SetCurrentPlatform()
1123 PlatformSP platform_sp (m_opaque_sp->GetPlatformList().GetSelectedPlatform()); in SetCurrentPlatformSDKRoot() local
1125 if (platform_sp) in SetCurrentPlatformSDKRoot()
1127 platform_sp->SetSDKRootDirectory (ConstString (sysroot)); in SetCurrentPlatformSDKRoot()
DSBTarget.cpp891 PlatformSP platform_sp = target_sp->GetPlatform(); in Attach() local
893 if (platform_sp && platform_sp->IsConnected()) in Attach()
897 if (platform_sp->GetProcessInfo(attach_pid, instance_info)) in Attach()
1019 PlatformSP platform_sp = target_sp->GetPlatform(); in AttachToProcessWithID() local
1021 if (platform_sp->GetProcessInfo(pid, instance_info)) in AttachToProcessWithID()
/external/lldb/source/Plugins/Process/POSIX/
DProcessPOSIX.cpp131 PlatformSP platform_sp (m_target.GetPlatform ()); in DoAttachToProcessWithID() local
132 assert (platform_sp.get()); in DoAttachToProcessWithID()
133 if (!platform_sp) in DoAttachToProcessWithID()
138 platform_sp->GetProcessInfo (pid, process_info); in DoAttachToProcessWithID()
143 error = platform_sp->ResolveExecutable(process_info.GetExecutableFile(), in DoAttachToProcessWithID()
/external/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
DDynamicLoaderDarwinKernel.cpp463 …PlatformSP platform_sp(Platform::FindPlugin (process, PlatformDarwinKernel::GetPluginNameStatic ()… in DynamicLoaderDarwinKernel() local
467 if (platform_sp.get() && GetGlobalProperties()->GetLoadKexts()) in DynamicLoaderDarwinKernel()
469 process->GetTarget().SetPlatform (platform_sp); in DynamicLoaderDarwinKernel()
811 PlatformSP platform_sp (target.GetPlatform()); in LoadImageUsingMemoryModule() local
812 if (platform_sp) in LoadImageUsingMemoryModule()
814 ConstString platform_name (platform_sp->GetPluginName()); in LoadImageUsingMemoryModule()
821platform_sp->GetSharedModule (kext_bundle_module_spec, m_module_sp, &target.GetExecutableSearchPat… in LoadImageUsingMemoryModule()
/external/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp668 PlatformSP platform_sp (m_target.GetPlatform()); in DoLaunch() local
669 if (platform_sp && platform_sp->IsHost() && !disable_stdio) in DoLaunch()
1831 PlatformSP platform_sp = GetTarget().GetPlatform(); in DoDestroy() local
1834 if (platform_sp in DoDestroy()
1835 && platform_sp->GetName() in DoDestroy()
1836 && platform_sp->GetName() == PlatformRemoteiOS::GetPluginNameStatic()) in DoDestroy()
3054 PlatformSP platform_sp (m_target.GetPlatform()); in StartNoticingNewThreads() local
3055 if (platform_sp) in StartNoticingNewThreads()
3057 m_thread_create_bp_sp = platform_sp->SetThreadCreationBreakpoint(m_target); in StartNoticingNewThreads()
/external/lldb/source/Core/
DModule.cpp1333 PlatformSP platform_sp(target->GetPlatform()); in LoadScriptingResourceInTarget() local
1335 if (!platform_sp) in LoadScriptingResourceInTarget()
1341 FileSpecList file_specs = platform_sp->LocateExecutableScriptingResources (target, in LoadScriptingResourceInTarget()
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp1602 PlatformSP platform_sp (target.GetPlatform()); in ParseSymtab() local
1603 if (platform_sp && platform_sp->IsHost() && use_lldb_cache) in ParseSymtab()