/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBTarget.cpp | 169 if (target_sp) { in GetProcess() 181 if (!target_sp) in GetPlatform() 195 if (target_sp) in GetDebugger() 205 if (!target_sp) in GetStatistics() 219 if (!target_sp) in SetCollectingStats() 228 if (!target_sp) in GetCollectingStats() 245 if (target_sp) { in LoadCore() 268 if (!target_sp) in LaunchSimple() 292 if (target_sp) { in Install() 313 if (target_sp) { in Launch() [all …]
|
H A D | SBInstruction.cpp | 118 TargetSP target_sp(target.GetSP()); in GetMnemonic() local 120 if (target_sp) { in GetMnemonic() 123 target_sp->CalculateExecutionContext(exe_ctx); in GetMnemonic() 137 TargetSP target_sp(target.GetSP()); in GetOperands() local 139 if (target_sp) { in GetOperands() 142 target_sp->CalculateExecutionContext(exe_ctx); in GetOperands() 156 TargetSP target_sp(target.GetSP()); in GetComment() local 158 if (target_sp) { in GetComment() 161 target_sp->CalculateExecutionContext(exe_ctx); in GetComment() 173 TargetSP target_sp(target.GetSP()); in GetControlFlowKind() local [all …]
|
H A D | SBValue.cpp | 100 return target_sp && target_sp->IsValid(); in IsValid() 654 if (target_sp) in GetChildAtIndex() 703 if (target_sp) in GetChildMemberWithName() 1063 if (target_sp) { in SetSP() 1078 if (target_sp) { in SetSP() 1091 if (target_sp) { in SetSP() 1146 if (!target_sp) in EvaluateExpression() 1182 if (!target_sp) { in EvaluateExpression() 1267 if (target_sp) { in GetLoadAddress() 1297 if (target_sp) { in GetAddress() [all …]
|
H A D | SBDebugger.cpp | 572 if (target_sp) in HandleCommand() 637 if (!target_sp) in HandleProcessEvent() 831 TargetSP target_sp; in CreateTarget() local 866 TargetSP target_sp; in CreateTargetWithFileAndTargetTriple() local 872 target_sp)); in CreateTargetWithFileAndTargetTriple() 893 TargetSP target_sp; in CreateTargetWithFileAndArch() local 902 target_sp); in CreateTargetWithFileAndArch() 934 TargetSP target_sp; in CreateTarget() local 941 target_sp); in CreateTarget() 974 if (target_sp) { in DeleteTarget() [all …]
|
H A D | SBSourceManager.cpp | 28 SourceManagerImpl(const lldb::TargetSP &target_sp) : m_target_wp(target_sp) {} in SourceManagerImpl() argument 46 lldb::TargetSP target_sp(m_target_wp.lock()); in DisplaySourceLinesWithLineNumbers() local 47 if (target_sp) { in DisplaySourceLinesWithLineNumbers() 48 return target_sp->GetSourceManager().DisplaySourceLinesWithLineNumbers( in DisplaySourceLinesWithLineNumbers()
|
H A D | SBBreakpoint.cpp | 789 if (target_sp && target_sp->IsValid()) in SBBreakpointListImpl() 790 m_target_wp = target_sp; in SBBreakpointListImpl() 800 TargetSP target_sp = m_target_wp.lock(); in GetBreakpointAtIndex() local 801 if (!target_sp) in GetBreakpointAtIndex() 808 TargetSP target_sp = m_target_wp.lock(); in FindBreakpointByID() local 809 if (!target_sp) in FindBreakpointByID() 821 if (!target_sp || !bkpt) in Append() 823 if (bkpt->GetTargetSP() != target_sp) in Append() 831 if (!target_sp || !bkpt) in AppendIfUnique() 833 if (bkpt->GetTargetSP() != target_sp) in AppendIfUnique() [all …]
|
H A D | SBBreakpointName.cpp | 37 SBBreakpointNameImpl(TargetSP target_sp, const char *name) { in SBBreakpointNameImpl() argument 42 if (!target_sp) in SBBreakpointNameImpl() 45 m_target_wp = target_sp; in SBBreakpointNameImpl() 83 TargetSP target_sp = sb_target.GetSP(); in SBBreakpointNameImpl() local 84 if (!target_sp) in SBBreakpointNameImpl() 87 m_target_wp = target_sp; in SBBreakpointNameImpl() 101 TargetSP target_sp = GetTarget(); in GetBreakpointName() local 102 if (!target_sp) in GetBreakpointName() 222 TargetSP target_sp = m_impl_up->GetTarget(); in UpdateName() local 223 if (!target_sp) in UpdateName() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | TargetList.cpp | 343 if (!target_sp) in CreateTargetInternal() 416 TargetSP target_sp; in FindTargetWithProcess() local 418 return target_sp; in FindTargetWithProcess() 427 target_sp = *it; in FindTargetWithProcess() 429 return target_sp; in FindTargetWithProcess() 433 TargetSP target_sp; in GetTargetSP() local 441 target_sp = *it; in GetTargetSP() 443 return target_sp; in GetTargetSP() 451 if (target_sp) { in SendAsyncInterrupt() 483 if (target_sp) { in SignalIfRunning() [all …]
|
H A D | ExecutionContext.cpp | 27 if (target_sp) in ExecutionContext() 53 if (target_sp) in ExecutionContext() 246 m_target_sp = target_sp; in SetTargetSP() 291 m_target_sp = target_sp; in SetContext() 292 if (get_process && target_sp) in SetContext() 459 m_target_wp = target_sp; in SetTargetSP() 500 if (target_sp) { in SetTargetPtr() 501 m_target_wp = target_sp; in SetTargetPtr() 564 if (target_sp && !target_sp->IsValid()) in GetTargetSP() 565 target_sp.reset(); in GetTargetSP() [all …]
|
H A D | ProcessTrace.cpp | 33 ProcessSP ProcessTrace::CreateInstance(TargetSP target_sp, in CreateInstance() argument 39 return std::make_shared<ProcessTrace>(target_sp, listener_sp); in CreateInstance() 42 bool ProcessTrace::CanDebug(TargetSP target_sp, bool plugin_specified_by_name) { in CanDebug() argument 46 ProcessTrace::ProcessTrace(TargetSP target_sp, ListenerSP listener_sp) in ProcessTrace() argument 47 : PostMortemProcess(target_sp, listener_sp) {} in ProcessTrace()
|
H A D | StackFrame.cpp | 100 if (m_sc.target_sp) in StackFrame() 128 if (m_sc.target_sp) in StackFrame() 201 if (target_sp) { in GetFrameCodeAddress() 237 if (target_sp) { in GetFrameCodeAddressForSymbolication() 307 if (!m_sc.target_sp) { in GetSymbolContext() 309 if (m_sc.target_sp) in GetSymbolContext() 405 if (m_sc.target_sp) { in GetSymbolContext() 1754 TargetSP target_sp; in CalculateTarget() local 1761 return target_sp; in CalculateTarget() 1866 assert(!m_sc.target_sp || !curr_frame.m_sc.target_sp || in UpdatePreviousFrameFromCurrentFrame() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | TargetList.h | 91 lldb::TargetSP &target_sp); 100 lldb::PlatformSP &platform_sp, lldb::TargetSP &target_sp); 116 bool DeleteTarget(lldb::TargetSP &target_sp); 122 uint32_t GetIndexOfTarget(lldb::TargetSP target_sp) const; 207 const OptionGroupPlatform *platform_options, lldb::TargetSP &target_sp); 214 lldb::TargetSP &target_sp); 216 void RegisterInProcessTarget(lldb::TargetSP target_sp); 218 void UnregisterInProcessTarget(lldb::TargetSP target_sp); 220 bool IsTargetInProcess(lldb::TargetSP target_sp); 222 void AddTargetInternal(lldb::TargetSP target_sp, bool do_select);
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | SearchFilter.cpp | 78 const lldb::TargetSP& target_sp, in CreateFromStructuredData() argument 166 ret_sp->SetTarget(target_sp); in CreateCopy() 209 empty_sc.target_sp = m_target_sp; in Search() 224 empty_sc.target_sp = m_target_sp; in SearchInModuleList() 356 const lldb::TargetSP& target_sp, in CreateFromStructuredData() argument 417 empty_sc.target_sp = m_target_sp; in Search() 456 const lldb::TargetSP& target_sp, in CreateFromStructuredData() argument 535 empty_sc.target_sp = m_target_sp; in Search() 586 const lldb::TargetSP& target_sp, in CreateFromStructuredData() argument 636 const lldb::TargetSP& target_sp, in CreateFromStructuredData() argument [all …]
|
H A D | SourceManager.cpp | 67 m_target_wp(target_sp), in SourceManager() 84 TargetSP target_sp(m_target_wp.lock()); in GetFile() local 89 if (target_sp) in GetFile() 94 ProcessSP process_sp = target_sp ? target_sp->GetProcessSP() : ProcessSP(); in GetFile() 150 if (target_sp) in GetFile() 398 if (target_sp) { in GetDefaultFileAndLine() 456 m_debugger_wp(target_sp ? target_sp->GetDebugger().shared_from_this() in File() 458 m_target_wp(target_sp) { in File() 459 CommonInitializer(file_spec, target_sp); in File() 468 if (target_sp) in CommonInitializer() [all …]
|
H A D | ValueObjectVTable.cpp | 68 TargetSP target_sp = GetTargetSP(); in UpdateValue() local 69 if (!target_sp) { in UpdateValue() 96 target_sp->ResolveLoadAddress(vfunc_ptr, resolved_vfunc_ptr_address); in UpdateValue() 109 auto type_system = target_sp->GetScratchTypeSystemForLanguage( in UpdateValue() 229 TargetSP target_sp = GetTargetSP(); in UpdateValue() local 231 vtable_info_or_err->addr.GetLoadAddress(target_sp.get()); in UpdateValue() 253 m_vtable_symbol->GetLoadAddress(target_sp.get()) + in UpdateValue() 260 target_sp->GetScratchTypeSystemForLanguage(eLanguageTypeC_plus_plus); in UpdateValue()
|
H A D | DumpDataExtractor.cpp | 127 TargetSP target_sp; in DumpInstructions() local 129 target_sp = exe_scope->CalculateTarget(); in DumpInstructions() 130 if (target_sp) { in DumpInstructions() 141 if (target_sp->GetSectionLoadList().IsEmpty() || in DumpInstructions() 249 TargetSP target_sp = exe_scope->CalculateTarget(); in GetMemoryTags() local 250 if (!target_sp) in GetMemoryTags() 321 if (target_sp) { in GetFloatSemantics() 656 TargetSP target_sp; in DumpDataExtractor() local 658 target_sp = exe_scope->CalculateTarget(); in DumpDataExtractor() 661 if (target_sp) in DumpDataExtractor() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | SearchFilter.h | 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; } in SetTarget() argument 291 SearchFilterForUnconstrainedSearches(const lldb::TargetSP &target_sp) in SearchFilterForUnconstrainedSearches() argument 292 : SearchFilter(target_sp, FilterTy::Unconstrained) {} in SearchFilterForUnconstrainedSearches() 301 CreateFromStructuredData(const lldb::TargetSP& target_sp, 343 CreateFromStructuredData(const lldb::TargetSP& target_sp, 390 CreateFromStructuredData(const lldb::TargetSP& target_sp, [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/ |
H A D | ProcessFreeBSDKernel.cpp | 34 ProcessFreeBSDKernelFVC(lldb::TargetSP target_sp, lldb::ListenerSP listener, 52 ProcessFreeBSDKernelKVM(lldb::TargetSP target_sp, lldb::ListenerSP listener, 69 ProcessFreeBSDKernel::ProcessFreeBSDKernel(lldb::TargetSP target_sp, in ProcessFreeBSDKernel() argument 71 : PostMortemProcess(target_sp, listener_sp) {} in ProcessFreeBSDKernel() 73 lldb::ProcessSP ProcessFreeBSDKernel::CreateInstance(lldb::TargetSP target_sp, in CreateInstance() argument 77 ModuleSP executable = target_sp->GetExecutableModule(); in CreateInstance() 115 bool ProcessFreeBSDKernel::CanDebug(lldb::TargetSP target_sp, in CanDebug() argument 282 ProcessFreeBSDKernelFVC::ProcessFreeBSDKernelFVC(lldb::TargetSP target_sp, in ProcessFreeBSDKernelFVC() argument 285 : ProcessFreeBSDKernel(target_sp, listener_sp), m_fvc(fvc) {} in ProcessFreeBSDKernelFVC() 309 ProcessFreeBSDKernelKVM::ProcessFreeBSDKernelKVM(lldb::TargetSP target_sp, in ProcessFreeBSDKernelKVM() argument [all …]
|
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | TypeFormat.cpp | 77 TargetSP target_sp(valobj->GetTargetSP()); in FormatObject() local 78 if (target_sp) { in FormatObject() 79 size_t max_len = target_sp->GetMaximumSizeOfStringSummary(); in FormatObject() 84 target_sp->ReadCStringFromMemory( in FormatObject() 149 TargetSP target_sp; in FormatObject() local 152 valobj_key = (target_sp = valobj->GetTargetSP()).get(); in FormatObject() 154 target_sp = process_sp->GetTarget().shared_from_this(); in FormatObject() 161 if (!target_sp) in FormatObject() 163 const ModuleList &images(target_sp->GetImages()); in FormatObject()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTBundleLoader.cpp | 96 TargetSP target_sp; in CreateEmptyProcess() local 99 /*platform_options*/ nullptr, target_sp); in CreateEmptyProcess() 101 if (!target_sp) in CreateEmptyProcess() 105 parsed_process.target_sp = target_sp; in CreateEmptyProcess() 108 ProcessSP process_sp = target_sp->CreateProcess( in CreateEmptyProcess() 126 ProcessSP process_sp = parsed_process->target_sp->GetProcessSP(); in ParseProcess() 132 if (Error err = ParseModule(*parsed_process->target_sp, module)) in ParseProcess() 155 ProcessSP process_sp = parsed_process->target_sp->GetProcessSP(); in ParseKernel() 205 m_debugger.GetTargetList().DeleteTarget(parsed_process.target_sp); in LoadBundle() 376 processes.push_back(parsed_process.target_sp->GetProcessSP()); in CreateTraceIntelPTInstance() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRMemoryMap.cpp | 23 IRMemoryMap::IRMemoryMap(lldb::TargetSP target_sp) : m_target_wp(target_sp) { in IRMemoryMap() argument 24 if (target_sp) in IRMemoryMap() 25 m_process_wp = target_sp->GetProcessSP(); in IRMemoryMap() 59 lldb::TargetSP target_sp = m_target_wp.lock(); in FindSpace() local 259 lldb::TargetSP target_sp = m_target_wp.lock(); in GetByteOrder() local 261 if (target_sp) in GetByteOrder() 273 lldb::TargetSP target_sp = m_target_wp.lock(); in GetAddressByteSize() local 275 if (target_sp) in GetAddressByteSize() 289 if (target_sp) in GetBestExecutionContextScope() 290 return target_sp.get(); in GetBestExecutionContextScope() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | Coroutines.cpp | 44 static Function *ExtractDestroyFunction(lldb::TargetSP target_sp, in ExtractDestroyFunction() argument 46 lldb::ProcessSP process_sp = target_sp->GetProcessSP(); in ExtractDestroyFunction() 57 if (!target_sp->ResolveLoadAddress(destroy_func_addr, destroy_func_address)) in ExtractDestroyFunction() 148 lldb::TargetSP target_sp = m_backend.GetTargetSP(); in Update() local 150 lldb::ProcessSP process_sp = target_sp->GetProcessSP(); in Update() 173 ExtractDestroyFunction(target_sp, frame_ptr_addr)) { in Update()
|
H A D | GenericBitset.cpp | 62 if (auto target_sp = m_backend.GetTargetSP()) { in GenericBitsetFrontEnd() local 63 m_byte_order = target_sp->GetArchitecture().GetByteOrder(); in GenericBitsetFrontEnd() 64 m_byte_size = target_sp->GetArchitecture().GetAddressByteSize(); in GenericBitsetFrontEnd() 85 TargetSP target_sp = m_backend.GetTargetSP(); in Update() local 86 if (!target_sp) in Update()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/ |
H A D | ScriptedProcess.cpp | 50 lldb::ProcessSP ScriptedProcess::CreateInstance(lldb::TargetSP target_sp, in CreateInstance() argument 54 if (!target_sp || in CreateInstance() 55 !IsScriptLanguageSupported(target_sp->GetDebugger().GetScriptLanguage())) in CreateInstance() 58 ScriptedMetadata scripted_metadata(target_sp->GetProcessLaunchInfo()); in CreateInstance() 62 new ScriptedProcess(target_sp, listener_sp, scripted_metadata, error)); in CreateInstance() 72 bool ScriptedProcess::CanDebug(lldb::TargetSP target_sp, in CanDebug() argument 77 ScriptedProcess::ScriptedProcess(lldb::TargetSP target_sp, in ScriptedProcess() argument 81 : Process(target_sp, listener_sp), m_scripted_metadata(scripted_metadata) { in ScriptedProcess() 83 if (!target_sp) { in ScriptedProcess() 90 target_sp->GetDebugger().GetScriptInterpreter(); in ScriptedProcess() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandOptionsProcessLaunch.cpp | 37 TargetSP target_sp = in SetOptionValue() local 44 target_sp->CreateBreakpointAtUserEntry(error); in SetOptionValue() 97 target_sp ? target_sp->GetPlatform() : PlatformSP(); in SetOptionValue()
|