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

12345

/freebsd-13-stable/contrib/llvm-project/lldb/source/API/
H A DSBTarget.cpp108 SBTarget::SBTarget(const TargetSP &target_sp) : m_opaque_sp(target_sp) { argument
109 LLDB_RECORD_CONSTRUCTOR(SBTarget, (const lldb::TargetSP &), target_sp);
181 TargetSP target_sp(GetSP());
182 if (target_sp) {
183 process_sp = target_sp->GetProcessSP();
193 TargetSP target_sp(GetSP());
194 if (!target_sp)
198 platform.m_opaque_sp = target_sp->GetPlatform();
207 TargetSP target_sp(GetS
610 SetSP(const lldb::TargetSP &target_sp) argument
[all...]
H A DSBInstruction.cpp121 TargetSP target_sp(target.GetSP());
123 if (target_sp) {
124 lock = std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex());
126 target_sp->CalculateExecutionContext(exe_ctx);
127 exe_ctx.SetProcessSP(target_sp->GetProcessSP());
141 TargetSP target_sp(target.GetSP());
143 if (target_sp) {
144 lock = std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex());
146 target_sp->CalculateExecutionContext(exe_ctx);
147 exe_ctx.SetProcessSP(target_sp
[all...]
H A DSBSourceManager.cpp29 SourceManagerImpl(const lldb::TargetSP &target_sp) argument
30 : m_debugger_wp(), m_target_wp(target_sp) {}
48 lldb::TargetSP target_sp(m_target_wp.lock());
49 if (target_sp) {
50 return target_sp->GetSourceManager().DisplaySourceLinesWithLineNumbers(
H A DSBValue.cpp101 TargetSP target_sp = m_valobj_sp->GetTargetSP(); local
102 return target_sp && target_sp->IsValid();
677 TargetSP target_sp; local
679 target_sp = m_opaque_sp->GetTargetSP();
681 if (target_sp)
682 use_dynamic = target_sp->GetPreferDynamicValue();
731 TargetSP target_sp; local
733 target_sp = m_opaque_sp->GetTargetSP();
735 if (target_sp)
1033 TargetSP target_sp; local
1228 lldb::TargetSP target_sp = value_sp->GetTargetSP(); local
[all...]
H A DSBDebugger.cpp478 TargetSP target_sp(m_opaque_sp->GetSelectedTarget());
480 if (target_sp)
481 lock = std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex());
553 TargetSP target_sp(process.GetTarget().GetSP());
554 if (!target_sp)
561 std::lock_guard<std::recursive_mutex> guard(target_sp->GetAPIMutex());
739 TargetSP target_sp; local
748 &platform_options, target_sp);
751 sb_target.SetSP(target_sp);
763 static_cast<void *>(target_sp
776 TargetSP target_sp; local
804 TargetSP target_sp; local
834 TargetSP target_sp; local
911 lldb::TargetSP target_sp = target.GetSP(); local
977 TargetSP target_sp; local
[all...]
H A DSBBreakpointName.cpp37 SBBreakpointNameImpl(TargetSP target_sp, const char *name) { argument
42 if (!target_sp)
45 m_target_wp = target_sp;
83 TargetSP target_sp = sb_target.GetSP();
84 if (!target_sp)
87 m_target_wp = target_sp;
101 TargetSP target_sp = GetTarget();
102 if (!target_sp)
105 return target_sp->FindBreakpointName(ConstString(m_name), true, error);
231 TargetSP target_sp
[all...]
H A DSBExecutionContext.cpp90 TargetSP target_sp(m_exe_ctx_sp->GetTargetSP());
91 if (target_sp)
92 sb_target.SetSP(target_sp);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
H A DTargetList.cpp56 TargetSP &target_sp) {
58 load_dependent_files, platform_options, target_sp,
66 PlatformSP &platform_sp, TargetSP &target_sp) {
68 load_dependent_files, platform_sp, target_sp,
75 const OptionGroupPlatform *platform_options, TargetSP &target_sp,
289 target_sp, is_dummy_target);
308 lldb::TargetSP &target_sp) {
312 (const OptionGroupPlatform *)nullptr, target_sp, true);
320 lldb::TargetSP &target_sp,
396 target_sp
51 CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path, llvm::StringRef triple_str, LoadDependentFiles load_dependent_files, const OptionGroupPlatform *platform_options, TargetSP &target_sp) argument
62 CreateTarget(Debugger &debugger, llvm::StringRef user_exe_path, const ArchSpec &specified_arch, LoadDependentFiles load_dependent_files, PlatformSP &platform_sp, TargetSP &target_sp) argument
72 CreateTargetInternal( Debugger &debugger, llvm::StringRef user_exe_path, llvm::StringRef triple_str, LoadDependentFiles load_dependent_files, const OptionGroupPlatform *platform_options, TargetSP &target_sp, bool is_dummy_target) argument
306 CreateDummyTarget(Debugger &debugger, llvm::StringRef specified_arch_name, lldb::TargetSP &target_sp) argument
315 CreateTargetInternal(Debugger &debugger, llvm::StringRef user_exe_path, const ArchSpec &specified_arch, LoadDependentFiles load_dependent_files, lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp, bool is_dummy_target) argument
445 DeleteTarget(TargetSP &target_sp) argument
461 TargetSP target_sp; local
482 TargetSP target_sp; local
495 TargetSP target_sp; local
510 TargetSP target_sp; local
583 TargetSP target_sp; local
[all...]
H A DExecutionContext.cpp26 ExecutionContext::ExecutionContext(const lldb::TargetSP &target_sp, argument
29 if (target_sp)
30 SetContext(target_sp, get_process);
54 lldb::TargetSP target_sp(target_wp.lock());
55 if (target_sp)
56 SetContext(target_sp, get_process);
246 void ExecutionContext::SetTargetSP(const lldb::TargetSP &target_sp) { argument
247 m_target_sp = target_sp;
290 void ExecutionContext::SetContext(const lldb::TargetSP &target_sp, argument
292 m_target_sp = target_sp;
464 SetTargetSP(const lldb::TargetSP &target_sp) argument
[all...]
H A DThreadPlanTracer.cpp48 TargetSP target_sp(GetThread().CalculateTarget());
49 if (target_sp)
50 return &(target_sp->GetDebugger().GetOutputStream());
105 if (auto target_sp = m_process.CalculateTarget()) {
107 target_sp->GetScratchTypeSystemForLanguage(eLanguageTypeC);
117 target_sp->GetArchitecture().GetAddressByteSize() * 8));
H A DStackFrame.cpp96 if (reg_context_sp && !m_sc.target_sp) {
97 m_sc.target_sp = reg_context_sp->CalculateTarget();
98 if (m_sc.target_sp)
124 if (!m_sc.target_sp && reg_context_sp) {
125 m_sc.target_sp = reg_context_sp->CalculateTarget();
126 if (m_sc.target_sp)
198 TargetSP target_sp(thread_sp->CalculateTarget());
199 if (target_sp) {
202 m_frame_code_addr.GetOffset(), target_sp.get(),
281 if (!m_sc.target_sp) {
1311 TargetSP target_sp = CalculateTarget(); local
1674 TargetSP target_sp = CalculateTarget(); local
1757 TargetSP target_sp; local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DTargetList.h77 /// \param[out] target_sp
87 lldb::TargetSP &target_sp);
96 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp);
104 /// \param[in] target_sp
111 /// in \a target_sp which can then be properly released.
112 bool DeleteTarget(lldb::TargetSP &target_sp);
118 uint32_t GetIndexOfTarget(lldb::TargetSP target_sp) const;
195 lldb::TargetSP &target_sp);
201 lldb::TargetSP &target_sp, bool is_dummy_target);
207 lldb::TargetSP &target_sp, boo
[all...]
H A DExecutionContext.h140 /// \a target_sp.
142 /// If \a target_sp is valid this object will create a weak reference to
152 void SetTargetSP(const lldb::TargetSP &target_sp);
303 ExecutionContext(const lldb::TargetSP &target_sp, bool get_process);
471 void SetTargetSP(const lldb::TargetSP &target_sp);
499 // If "target_sp" is valid, sets the target context to match and if
502 void SetContext(const lldb::TargetSP &target_sp, bool get_process);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxBitset.cpp51 if (auto target_sp = m_backend.GetTargetSP()) {
52 m_byte_order = target_sp->GetArchitecture().GetByteOrder();
53 m_byte_size = target_sp->GetArchitecture().GetAddressByteSize();
62 TargetSP target_sp = m_backend.GetTargetSP(); local
63 if (!target_sp)
65 size_t capping_size = target_sp->GetMaximumNumberOfChildrenToDisplay();
H A DBlockPointer.cpp37 TargetSP target_sp(m_backend.GetTargetSP());
39 if (!target_sp) {
43 auto type_system_or_err = target_sp->GetScratchTypeSystemForLanguage(
60 auto *state = target_sp->GetPersistentExpressionStateForLanguage(
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DSearchFilter.h87 /// \param[in] target_sp
89 SearchFilter(const lldb::TargetSP &target_sp);
91 SearchFilter(const lldb::TargetSP &target_sp, unsigned char filterType);
200 lldb::SearchFilterSP CreateCopy(lldb::TargetSP& target_sp);
203 CreateFromStructuredData(const lldb::TargetSP& target_sp,
276 void SetTarget(lldb::TargetSP &target_sp) { m_target_sp = target_sp; } argument
291 SearchFilterForUnconstrainedSearches(const lldb::TargetSP &target_sp) argument
292 : SearchFilter(target_sp, FilterTy::Unconstrained) {}
301 CreateFromStructuredData(const lldb::TargetSP& target_sp,
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectQuit.cpp44 TargetSP target_sp(target_list.GetTargetAtIndex(target_idx));
45 if (!target_sp)
47 ProcessSP process_sp(target_sp->GetProcessSP());
/freebsd-13-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DTypeFormat.cpp77 TargetSP target_sp(valobj->GetTargetSP());
78 if (target_sp) {
79 size_t max_len = target_sp->GetMaximumSizeOfStringSummary();
83 if (target_sp->ReadCStringFromMemory(
148 TargetSP target_sp; local
151 valobj_key = (target_sp = valobj->GetTargetSP()).get();
153 target_sp = process_sp->GetTarget().shared_from_this();
160 if (!target_sp)
162 const ModuleList &images(target_sp->GetImages());
H A DTypeSummary.cpp162 TargetSP target_sp(valobj->GetTargetSP());
164 if (!target_sp) {
170 target_sp->GetDebugger().GetScriptInterpreter();
/freebsd-13-stable/contrib/llvm-project/lldb/source/Core/
H A DSearchFilter.cpp72 SearchFilter::SearchFilter(const TargetSP &target_sp, unsigned char filterType) argument
73 : m_target_sp(target_sp), SubclassID(filterType) {}
78 const lldb::TargetSP& target_sp,
113 target_sp, *subclass_options, error);
117 target_sp, *subclass_options, error);
121 target_sp, *subclass_options, error);
125 target_sp, *subclass_options, error);
164 lldb::SearchFilterSP SearchFilter::CreateCopy(lldb::TargetSP& target_sp) { argument
166 ret_sp->SetTarget(target_sp);
209 empty_sc.target_sp
77 CreateFromStructuredData( const lldb::TargetSP& target_sp, const StructuredData::Dictionary &filter_dict, Status &error) argument
364 CreateFromStructuredData( const lldb::TargetSP& target_sp, const StructuredData::Dictionary &data_dict, Status &error) argument
400 SearchFilterByModule(const lldb::TargetSP &target_sp, const FileSpec &module) argument
466 CreateFromStructuredData( const lldb::TargetSP& target_sp, const StructuredData::Dictionary &data_dict, Status &error) argument
508 SearchFilterByModuleList( const lldb::TargetSP &target_sp, const FileSpecList &module_list) argument
513 SearchFilterByModuleList( const lldb::TargetSP &target_sp, const FileSpecList &module_list, enum FilterTy filter_ty) argument
602 CreateFromStructuredData( const lldb::TargetSP& target_sp, const StructuredData::Dictionary &data_dict, Status &error) argument
643 SearchFilterByModuleListAndCU( const lldb::TargetSP &target_sp, const FileSpecList &module_list, const FileSpecList &cu_list) argument
652 CreateFromStructuredData( const lldb::TargetSP& target_sp, const StructuredData::Dictionary &data_dict, Status &error) argument
[all...]
H A DDumpDataExtractor.cpp139 TargetSP target_sp; local
141 target_sp = exe_scope->CalculateTarget();
142 if (target_sp) {
144 Disassembler::FindPlugin(target_sp->GetArchitecture(),
145 target_sp->GetDisassemblyFlavor(), nullptr));
150 if (target_sp->GetSectionLoadList().ResolveLoadAddress(addr, so_addr)) {
153 if (target_sp->GetSectionLoadList().IsEmpty() ||
154 !target_sp->GetImages().ResolveFileAddress(addr, so_addr))
520 TargetSP target_sp; local
523 target_sp
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.h31 static lldb::ProcessSP CreateInstance(lldb::TargetSP target_sp,
43 ProcessMinidump(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
48 bool CanDebug(lldb::TargetSP target_sp,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupFormat.cpp201 TargetSP target_sp = local
203 if (target_sp)
204 byte_size = target_sp->GetArchitecture().GetAddressByteSize();
H A DOptionGroupValueObjectDisplay.cpp177 TargetSP target_sp = local
179 if (target_sp)
180 use_dynamic = target_sp->GetPreferDynamicValue();
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.h35 CreateInstance(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
47 ProcessElfCore(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
53 bool CanDebug(lldb::TargetSP target_sp,

Completed in 395 milliseconds

12345