Searched refs:target_sp (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-10.2-release/contrib/llvm/tools/lldb/source/API/
H A DSBTarget.cpp498 SBTarget::SBTarget(const TargetSP& target_sp) : argument
499 m_opaque_sp (target_sp)
535 TargetSP target_sp(GetSP());
536 if (target_sp)
538 process_sp = target_sp->GetProcessSP();
546 target_sp.get(), process_sp.get());
556 TargetSP target_sp(GetSP());
557 if (target_sp)
558 debugger.reset (target_sp->GetDebugger().shared_from_this());
566 TargetSP target_sp(GetS
1184 SetSP(const lldb::TargetSP& target_sp) argument
[all...]
H A DSBInstruction.cpp79 TargetSP target_sp (target.GetSP());
80 if (target_sp)
82 api_locker.Lock (target_sp->GetAPIMutex());
83 target_sp->CalculateExecutionContext (exe_ctx);
84 exe_ctx.SetProcessSP(target_sp->GetProcessSP());
98 TargetSP target_sp (target.GetSP());
99 if (target_sp)
101 api_locker.Lock (target_sp->GetAPIMutex());
102 target_sp->CalculateExecutionContext (exe_ctx);
103 exe_ctx.SetProcessSP(target_sp
[all...]
H A DSBSourceManager.cpp36 SourceManagerImpl (const lldb::TargetSP &target_sp) : argument
38 m_target_wp (target_sp)
61 lldb::TargetSP target_sp (m_target_wp.lock());
62 if (target_sp)
64 return target_sp->GetSourceManager().DisplaySourceLinesWithLineNumbers (file,
H A DSBDebugger.cpp403 TargetSP target_sp (m_opaque_sp->GetSelectedTarget());
405 if (target_sp)
406 api_locker.Lock(target_sp->GetAPIMutex());
458 TargetSP target_sp (process.GetTarget().GetSP());
459 if (!target_sp)
466 Mutex::Locker api_locker (target_sp->GetAPIMutex());
598 TargetSP target_sp; local
610 target_sp);
613 sb_target.SetSP (target_sp);
630 target_sp
641 TargetSP target_sp; local
670 TargetSP target_sp; local
703 TargetSP target_sp; local
775 lldb::TargetSP target_sp = target.GetSP(); local
841 TargetSP target_sp; local
[all...]
H A DSBFunction.cpp136 TargetSP target_sp (target.GetSP());
137 if (target_sp)
139 api_locker.Lock (target_sp->GetAPIMutex());
140 target_sp->CalculateExecutionContext (exe_ctx);
141 exe_ctx.SetProcessSP(target_sp->GetProcessSP());
H A DSBValue.cpp111 TargetSP target_sp = m_valobj_sp->GetTargetSP(); local
112 if (target_sp && target_sp->IsValid())
853 TargetSP target_sp; local
855 target_sp = m_opaque_sp->GetTargetSP();
857 if (target_sp)
858 use_dynamic = target_sp->GetPreferDynamicValue();
921 TargetSP target_sp; local
923 target_sp = m_opaque_sp->GetTargetSP();
925 if (target_sp)
1211 TargetSP target_sp; local
[all...]
H A DSBSymbol.cpp130 TargetSP target_sp (target.GetSP());
131 if (target_sp)
133 api_locker.Lock (target_sp->GetAPIMutex());
134 target_sp->CalculateExecutionContext (exe_ctx);
H A DSBCommandInterpreter.cpp244 TargetSP target_sp(m_opaque_ptr->GetDebugger().GetSelectedTarget());
245 if (target_sp)
247 Mutex::Locker api_locker(target_sp->GetAPIMutex());
248 process_sp = target_sp->GetProcessSP();
303 TargetSP target_sp(m_opaque_ptr->GetDebugger().GetSelectedTarget());
305 if (target_sp)
306 api_locker.Lock(target_sp->GetAPIMutex());
328 TargetSP target_sp(m_opaque_ptr->GetDebugger().GetSelectedTarget());
330 if (target_sp)
331 api_locker.Lock(target_sp
[all...]
H A DSBAddress.cpp121 TargetSP target_sp (target.GetSP());
122 if (target_sp)
126 Mutex::Locker api_locker (target_sp->GetAPIMutex());
127 addr = m_opaque_ap->GetLoadAddress (target_sp.get());
134 log->Printf ("SBAddress::GetLoadAddress (SBTarget(%p)) => LLDB_INVALID_ADDRESS", target_sp.get());
136 log->Printf ("SBAddress::GetLoadAddress (SBTarget(%p)) => 0x%" PRIx64, target_sp.get(), addr);
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Target/
H A DTargetList.cpp68 TargetSP &target_sp)
183 target_sp);
193 TargetSP &target_sp)
292 target_sp.reset(new Target(debugger, arch, platform_sp));
293 target_sp->SetExecutableModule (exe_module_sp, get_dependent_files);
302 target_sp.reset(new Target(debugger, arch, platform_sp));
305 if (target_sp)
315 target_sp->SetArg0 (resolved_bundle_exe_path);
320 target_sp->SetArg0 (file.GetPath().c_str());
327 target_sp
63 CreateTarget(Debugger &debugger, const char *user_exe_path, const char *triple_cstr, bool get_dependent_files, const OptionGroupPlatform *platform_options, TargetSP &target_sp) argument
188 CreateTarget(Debugger &debugger, const char *user_exe_path, const ArchSpec& specified_arch, bool get_dependent_files, PlatformSP &platform_sp, TargetSP &target_sp) argument
340 DeleteTarget(TargetSP &target_sp) argument
365 TargetSP target_sp; local
394 TargetSP target_sp; local
412 TargetSP target_sp; local
432 TargetSP target_sp; local
530 TargetSP target_sp; local
[all...]
H A DThreadPlanStepUntil.cpp55 TargetSP target_sp (m_thread.CalculateTarget());
71 Breakpoint *return_bp = target_sp->CreateBreakpoint (m_return_addr, true, false).get();
85 Breakpoint *until_bp = target_sp->CreateBreakpoint (address_list[i], true, false).get();
108 TargetSP target_sp (m_thread.CalculateTarget());
109 if (target_sp)
113 target_sp->RemoveBreakpointByID(m_return_bp_id);
120 target_sp->RemoveBreakpointByID((*pos).second);
348 TargetSP target_sp (m_thread.CalculateTarget());
349 if (target_sp)
351 Breakpoint *return_bp = target_sp
[all...]
H A DExecutionContext.cpp37 ExecutionContext::ExecutionContext (const lldb::TargetSP &target_sp, bool get_process) : argument
43 if (target_sp)
44 SetContext (target_sp, get_process);
83 lldb::TargetSP target_sp(target_wp.lock());
84 if (target_sp)
85 SetContext (target_sp, get_process);
336 ExecutionContext::SetTargetSP (const lldb::TargetSP &target_sp) argument
338 m_target_sp = target_sp;
396 ExecutionContext::SetContext (const lldb::TargetSP &target_sp, bool get_process) argument
398 m_target_sp = target_sp;
634 SetTargetSP(const lldb::TargetSP &target_sp) argument
[all...]
H A DThreadPlanTracer.cpp64 TargetSP target_sp (m_thread.CalculateTarget());
65 if (target_sp)
66 return target_sp->GetDebugger().GetOutputFile().get();
134 TargetSP target_sp (m_thread.CalculateTarget());
135 if (target_sp)
137 Module *exe_module = target_sp->GetExecutableModulePointer();
141 m_intptr_type = TypeFromUser(exe_module->GetClangASTContext().GetBuiltinTypeForEncodingAndBitSize(eEncodingUint, target_sp->GetArchitecture().GetAddressByteSize() * 8));
H A DStackFrame.cpp120 if (reg_context_sp && !m_sc.target_sp)
122 m_sc.target_sp = reg_context_sp->CalculateTarget();
123 if (m_sc.target_sp)
159 if (m_sc.target_sp.get() == NULL && reg_context_sp)
161 m_sc.target_sp = reg_context_sp->CalculateTarget();
162 if (m_sc.target_sp)
254 TargetSP target_sp (thread_sp->CalculateTarget());
255 if (target_sp)
257 if (m_frame_code_addr.SetOpcodeLoadAddress (m_frame_code_addr.GetOffset(), target_sp.get()))
355 if (!m_sc.target_sp)
1284 TargetSP target_sp; local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Target/
H A DTargetList.h92 /// @param[out] target_sp
105 lldb::TargetSP &target_sp);
119 lldb::TargetSP &target_sp);
128 /// @param[in] target_sp
135 /// in \a target_sp which can then be properly released.
138 DeleteTarget (lldb::TargetSP &target_sp);
147 GetIndexOfTarget (lldb::TargetSP target_sp) const;
H A DExecutionContext.h168 /// referenced in \a target_sp.
170 /// If \a target_sp is valid this object will create a weak
182 SetTargetSP (const lldb::TargetSP &target_sp);
393 ExecutionContext (const lldb::TargetSP &target_sp, bool get_process);
634 SetTargetSP (const lldb::TargetSP &target_sp);
685 // If "target_sp" is valid, sets the target context to match and
690 SetContext (const lldb::TargetSP &target_sp, bool get_process);
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/DataFormatters/
H A DTypeFormat.cpp95 TargetSP target_sp(valobj->GetTargetSP());
96 if (target_sp)
98 size_t max_len = target_sp->GetMaximumSizeOfStringSummary();
102 if (target_sp->ReadCStringFromMemory(address, (char*)buffer_sp->GetBytes(), max_len, error) && error.Success())
167 TargetSP target_sp; local
170 valobj_key = (target_sp = valobj->GetTargetSP()).get();
172 target_sp = process_sp->GetTarget().shared_from_this();
181 if (!target_sp)
183 const ModuleList& images(target_sp->GetImages());
H A DTypeSynthetic.cpp77 TargetSP target_sp = backend.GetTargetSP();
79 if (!target_sp)
82 m_interpreter = target_sp->GetDebugger().GetCommandInterpreter().GetScriptInterpreter();
H A DTypeSummary.cpp173 TargetSP target_sp(valobj->GetTargetSP());
175 if (!target_sp)
181 ScriptInterpreter *script_interpreter = target_sp->GetDebugger().GetCommandInterpreter().GetScriptInterpreter();
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectQuit.cpp59 TargetSP target_sp(target_list.GetTargetAtIndex(target_idx));
60 if (!target_sp)
62 ProcessSP process_sp(target_sp->GetProcessSP());
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointResolverFileRegex.cpp55 if (!context.target_sp)
61 context.target_sp->GetSourceManager().FindLinesMatchingRegex(cu_file_spec, m_regex, 1, UINT32_MAX, line_matches);
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Expression/
H A DIRMemoryMap.cpp21 IRMemoryMap::IRMemoryMap (lldb::TargetSP target_sp) : argument
22 m_target_wp(target_sp)
24 if (target_sp)
25 m_process_wp = target_sp->GetProcessSP();
52 lldb::TargetSP target_sp = m_target_wp.lock(); local
73 switch (target_sp->GetArchitecture().GetAddressByteSize())
163 lldb::TargetSP target_sp = m_target_wp.lock();
165 if (target_sp)
166 return target_sp->GetArchitecture().GetByteOrder();
179 lldb::TargetSP target_sp
561 lldb::TargetSP target_sp = m_target_wp.lock(); local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Core/
H A DSourceManager.cpp41 SourceManager::SourceManager(const TargetSP &target_sp) : argument
46 m_target_wp (target_sp),
47 m_debugger_wp(target_sp->GetDebugger().shared_from_this())
80 TargetSP target_sp (m_target_wp.lock());
84 if (target_sp && file_sp && file_sp->GetSourceMapModificationID() != target_sp->GetSourcePathMap().GetModificationID())
90 file_sp.reset (new File (file_spec, target_sp.get()));
276 TargetSP target_sp (m_target_wp.lock());
278 if (target_sp)
283 Module *executable_ptr = target_sp
[all...]
H A DSearchFilter.cpp45 SearchFilter::SearchFilter(const TargetSP &target_sp) : argument
46 m_target_sp (target_sp)
134 empty_sc.target_sp = m_target_sp;
149 empty_sc.target_sp = m_target_sp;
317 SearchFilterByModule::SearchFilterByModule (const lldb::TargetSP &target_sp, const FileSpec &module) : argument
318 SearchFilter (target_sp),
397 empty_sc.target_sp = m_target_sp;
461 SearchFilterByModuleList::SearchFilterByModuleList (const lldb::TargetSP &target_sp, const FileSpecList &module_list) : argument
462 SearchFilter (target_sp),
548 empty_sc.target_sp
635 SearchFilterByModuleListAndCU(const lldb::TargetSP &target_sp, const FileSpecList &module_list, const FileSpecList &cu_list) argument
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DSymbolContext.h84 SymbolContext (const lldb::TargetSP &target_sp,
342 lldb::TargetSP target_sp; ///< The Target for a given query member in class:lldb_private::SymbolContext
368 SymbolContextSpecifier (const lldb::TargetSP& target_sp);

Completed in 204 milliseconds

1234