Home
last modified time | relevance | path

Searched refs:debugger_sp (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSourceManager.cpp76 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() argument
79 m_debugger_wp(debugger_sp) {} in SourceManager()
93 DebuggerSP debugger_sp(m_debugger_wp.lock()); in GetFile() local
96 if (!debugger_sp || !debugger_sp->GetUseSourceCache()) { in GetFile()
101 return std::make_shared<File>(support_file_sp, debugger_sp); in GetFile()
118 debugger_sp->GetSourceFileCache().RemoveSourceFile(file_sp); in GetFile()
129 FileSP file_sp = debugger_sp->GetSourceFileCache().FindSourceFile(file_spec); in GetFile()
164 file_sp = std::make_shared<File>(support_file_sp, debugger_sp); in GetFile()
168 debugger_sp->GetSourceFileCache().AddSourceFile(file_spec, file_sp); in GetFile()
176 static bool should_highlight_source(DebuggerSP debugger_sp) { in should_highlight_source() argument
[all …]
H A DDebugger.cpp846 DebuggerSP debugger_sp(new Debugger(log_callback, baton)); in CreateInstance() local
847 helper.SetDebugger(debugger_sp.get()); in CreateInstance()
851 g_debugger_list_ptr->push_back(debugger_sp); in CreateInstance()
853 debugger_sp->InstanceInitialize(); in CreateInstance()
854 return debugger_sp; in CreateInstance()
883 void Debugger::Destroy(DebuggerSP &debugger_sp) { in Destroy() argument
884 if (!debugger_sp) in Destroy()
887 debugger_sp->HandleDestroyCallback(); in Destroy()
888 CommandInterpreter &cmd_interpreter = debugger_sp->GetCommandInterpreter(); in Destroy()
891 CommandReturnObject result(debugger_sp->GetUseColor()); in Destroy()
[all …]
H A DDebuggerEvents.cpp140 DebuggerSP debugger_sp(m_debugger_wp.lock()); in DoOnRemoval() local
141 if (!debugger_sp) in DoOnRemoval()
144 for (TargetSP target_sp : debugger_sp->GetTargetList().Targets()) { in DoOnRemoval()
H A DModule.cpp965 for (auto debugger_sp : requestors) { in DebuggersOwningModuleRequestingInterruption() local
966 if (!debugger_sp->InterruptRequested()) in DebuggersOwningModuleRequestingInterruption()
968 if (debugger_sp->GetTargetList().AnyTargetContainsModule(module)) in DebuggersOwningModuleRequestingInterruption()
969 interruptors.push_back(debugger_sp); in DebuggersOwningModuleRequestingInterruption()
981 for (auto debugger_sp : interruptors) { in GetSymbolFile() local
982 REPORT_INTERRUPTION(*(debugger_sp.get()), in GetSymbolFile()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/
H A DResource.cpp106 lldb::DebuggerSP debugger_sp = Debugger::GetDebuggerAtIndex(i); in GetResources() local
107 if (!debugger_sp) in GetResources()
109 resources.emplace_back(GetDebuggerResource(*debugger_sp)); in GetResources()
111 TargetList &target_list = debugger_sp->GetTargetList(); in GetResources()
164 lldb::DebuggerSP debugger_sp = Debugger::FindDebuggerWithID(debugger_id); in ReadDebuggerResource() local
165 if (!debugger_sp) in ReadDebuggerResource()
170 debugger_resource.name = debugger_sp->GetInstanceName(); in ReadDebuggerResource()
171 debugger_resource.num_targets = debugger_sp->GetTargetList().GetNumTargets(); in ReadDebuggerResource()
188 lldb::DebuggerSP debugger_sp = Debugger::FindDebuggerWithID(debugger_id); in ReadTargetResource() local
189 if (!debugger_sp) in ReadTargetResource()
[all …]
H A DTool.cpp67 lldb::DebuggerSP debugger_sp = in Call() local
69 if (!debugger_sp) in Call()
75 debugger_sp->GetCommandInterpreter().HandleCommand( in Call()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBSourceManager.cpp25 SourceManagerImpl(const lldb::DebuggerSP &debugger_sp) in SourceManagerImpl() argument
26 : m_debugger_wp(debugger_sp) {} in SourceManagerImpl()
52 lldb::DebuggerSP debugger_sp(m_debugger_wp.lock()); in DisplaySourceLinesWithLineNumbers() local
53 if (debugger_sp) { in DisplaySourceLinesWithLineNumbers()
54 return debugger_sp->GetSourceManager() in DisplaySourceLinesWithLineNumbers()
H A DSBDebugger.cpp93 SBDebugger::SBDebugger(const lldb::DebuggerSP &debugger_sp) in SBDebugger() argument
94 : m_opaque_sp(debugger_sp) { in SBDebugger()
95 LLDB_INSTRUMENT_VA(this, debugger_sp); in SBDebugger()
1082 DebuggerSP debugger_sp(m_opaque_sp); in GetSelectedPlatform() local
1083 if (debugger_sp) { in GetSelectedPlatform()
1084 sb_platform.SetSP(debugger_sp->GetPlatformList().GetSelectedPlatform()); in GetSelectedPlatform()
1098 DebuggerSP debugger_sp(m_opaque_sp); in SetSelectedPlatform() local
1099 if (debugger_sp) { in SetSelectedPlatform()
1100 debugger_sp->GetPlatformList().SetSelectedPlatform(sb_platform.GetSP()); in SetSelectedPlatform()
1277 void SBDebugger::reset(const DebuggerSP &debugger_sp) { in reset() argument
[all …]
H A DSBTypeCategory.cpp359 DebuggerSP debugger_sp = lldb_private::Debugger::GetDebuggerAtIndex(j); in AddTypeSummary() local
360 if (debugger_sp) { in AddTypeSummary()
362 debugger_sp->GetScriptInterpreter(); in AddTypeSummary()
451 DebuggerSP debugger_sp = lldb_private::Debugger::GetDebuggerAtIndex(j); in AddTypeSynthetic() local
452 if (debugger_sp) { in AddTypeSynthetic()
454 debugger_sp->GetScriptInterpreter(); in AddTypeSynthetic()
H A DSystemInitializerFull.cpp90 auto LoadPlugin = [](const lldb::DebuggerSP &debugger_sp, in Initialize()
98 lldb::SBDebugger debugger_sb(debugger_sp); in Initialize()
/freebsd/contrib/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp81 EnableOptionsSP GetGlobalEnableOptions(const DebuggerSP &debugger_sp) { in GetGlobalEnableOptions() argument
82 if (!debugger_sp) in GetGlobalEnableOptions()
87 DebuggerWP debugger_wp(debugger_sp); in GetGlobalEnableOptions()
95 void SetGlobalEnableOptions(const DebuggerSP &debugger_sp, in SetGlobalEnableOptions() argument
99 DebuggerWP debugger_wp(debugger_sp); in SetGlobalEnableOptions()
782 DebuggerSP debugger_sp = in DoExecute() local
784 SetGlobalEnableOptions(debugger_sp, m_options_sp); in DoExecute()
890 DebuggerSP debugger_sp = in DoExecute() local
892 auto options_sp = GetGlobalEnableOptions(debugger_sp); in DoExecute()
1105 DebuggerSP debugger_sp = process.GetTarget().GetDebugger().shared_from_this(); in HandleArrivalOfStructuredData() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectQuit.cpp39 DebuggerSP debugger_sp(Debugger::GetDebuggerAtIndex(debugger_idx)); in ShouldAskForConfirmation() local
40 if (!debugger_sp) in ShouldAskForConfirmation()
42 const TargetList &target_list(debugger_sp->GetTargetList()); in ShouldAskForConfirmation()
H A DCommandObjectPlatform.cpp1375 DebuggerSP debugger_sp = in SetOptionValue() local
1379 debugger_sp ? debugger_sp->GetPlatformList().GetSelectedPlatform() in SetOptionValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp1728 DebuggerSP debugger_sp(m_debugger.shared_from_this()); in CreateScriptCommandObject() local
1733 if (!debugger_sp.get()) in CreateScriptCommandObject()
1739 class_name, m_dictionary_name.c_str(), debugger_sp); in CreateScriptCommandObject()
2536 lldb::DebuggerSP debugger_sp, ScriptedCommandSynchronicity synchro) in SynchronicityHandler() argument
2537 : m_debugger_sp(debugger_sp), m_synch_wanted(synchro), in SynchronicityHandler()
2538 m_old_asynch(debugger_sp->GetAsyncExecution()) { in SynchronicityHandler()
2560 lldb::DebuggerSP debugger_sp = m_debugger.shared_from_this(); in RunScriptBasedCommand() local
2563 if (!debugger_sp.get()) { in RunScriptBasedCommand()
2576 SynchronicityHandler synch_handler(debugger_sp, synchronicity); in RunScriptBasedCommand()
2580 impl_function, m_dictionary_name.c_str(), debugger_sp, args_str.c_str(), in RunScriptBasedCommand()
[all …]
H A DSWIGPythonBridge.h96 static PythonObject ToSWIGWrapper(lldb::DebuggerSP debugger_sp);
152 lldb::DebuggerSP debugger_sp);
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h42 File(lldb::SupportFileSP support_file_sp, lldb::DebuggerSP debugger_sp);
151 SourceManager(const lldb::DebuggerSP &debugger_sp);
H A DDebugger.h108 static void Destroy(lldb::DebuggerSP &debugger_sp);
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-swigsafecast.swig67 PythonObject SWIGBridge::ToSWIGWrapper(lldb::DebuggerSP debugger_sp) {
68 return ToSWIGHelper(new lldb::SBDebugger(std::move(debugger_sp)),
H A Dpython-wrapper.swig215 lldb::DebuggerSP debugger_sp) {
229 return pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger_sp)), dict);
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBDebugger.h670 SBDebugger(const lldb::DebuggerSP &debugger_sp);
686 void reset(const lldb::DebuggerSP &debugger_sp);
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-types.h33 const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);