Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Core/
H A DSourceManager.cpp67 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() argument
69 m_debugger_wp(debugger_sp) {} in SourceManager()
81 DebuggerSP debugger_sp(m_debugger_wp.lock()); in GetFile() local
83 if (debugger_sp && debugger_sp->GetUseSourceCache()) in GetFile()
84 file_sp = debugger_sp->GetSourceFileCache().FindSourceFile(resolved_fspec); in GetFile()
104 file_sp = std::make_shared<File>(resolved_fspec, debugger_sp); in GetFile()
106 if (debugger_sp && debugger_sp->GetUseSourceCache()) in GetFile()
107 debugger_sp->GetSourceFileCache().AddSourceFile(file_sp); in GetFile()
112 static bool should_highlight_source(DebuggerSP debugger_sp) { in should_highlight_source() argument
113 if (!debugger_sp) in should_highlight_source()
[all …]
H A DDebugger.cpp673 DebuggerSP debugger_sp(new Debugger(log_callback, baton)); in CreateInstance() local
676 g_debugger_list_ptr->push_back(debugger_sp); in CreateInstance()
678 debugger_sp->InstanceInitialize(); in CreateInstance()
679 return debugger_sp; in CreateInstance()
682 void Debugger::Destroy(DebuggerSP &debugger_sp) { in Destroy() argument
683 if (!debugger_sp) in Destroy()
686 CommandInterpreter &cmd_interpreter = debugger_sp->GetCommandInterpreter(); in Destroy()
689 CommandReturnObject result(debugger_sp->GetUseColor()); in Destroy()
692 (*debugger_sp->GetAsyncOutputStream()) << result.GetOutputData() << '\n'; in Destroy()
694 (*debugger_sp->GetAsyncErrorStream()) << result.GetErrorData() << '\n'; in Destroy()
[all …]
H A DDebuggerEvents.cpp103 DebuggerSP debugger_sp(m_debugger_wp.lock()); in DoOnRemoval() local
104 if (!debugger_sp) in DoOnRemoval()
107 for (TargetSP target_sp : debugger_sp->GetTargetList().Targets()) { in DoOnRemoval()
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBSourceManager.cpp26 SourceManagerImpl(const lldb::DebuggerSP &debugger_sp) in SourceManagerImpl() argument
27 : m_debugger_wp(debugger_sp) {} in SourceManagerImpl()
53 lldb::DebuggerSP debugger_sp(m_debugger_wp.lock()); in DisplaySourceLinesWithLineNumbers() local
54 if (debugger_sp) { in DisplaySourceLinesWithLineNumbers()
55 return debugger_sp->GetSourceManager() in DisplaySourceLinesWithLineNumbers()
H A DSBDebugger.cpp68 static llvm::sys::DynamicLibrary LoadPlugin(const lldb::DebuggerSP &debugger_sp, in LoadPlugin() argument
76 lldb::SBDebugger debugger_sb(debugger_sp); in LoadPlugin()
128 SBDebugger::SBDebugger(const lldb::DebuggerSP &debugger_sp) in SBDebugger() argument
129 : m_opaque_sp(debugger_sp) { in SBDebugger()
130 LLDB_INSTRUMENT_VA(this, debugger_sp); in SBDebugger()
1096 DebuggerSP debugger_sp(m_opaque_sp); in GetSelectedPlatform() local
1097 if (debugger_sp) { in GetSelectedPlatform()
1098 sb_platform.SetSP(debugger_sp->GetPlatformList().GetSelectedPlatform()); in GetSelectedPlatform()
1112 DebuggerSP debugger_sp(m_opaque_sp); in SetSelectedPlatform() local
1113 if (debugger_sp) { in SetSelectedPlatform()
[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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp79 EnableOptionsSP GetGlobalEnableOptions(const DebuggerSP &debugger_sp) { in GetGlobalEnableOptions() argument
80 if (!debugger_sp) in GetGlobalEnableOptions()
85 DebuggerWP debugger_wp(debugger_sp); in GetGlobalEnableOptions()
93 void SetGlobalEnableOptions(const DebuggerSP &debugger_sp, in SetGlobalEnableOptions() argument
97 DebuggerWP debugger_wp(debugger_sp); in SetGlobalEnableOptions()
777 DebuggerSP debugger_sp = in DoExecute() local
779 SetGlobalEnableOptions(debugger_sp, m_options_sp); in DoExecute()
885 DebuggerSP debugger_sp = in DoExecute() local
887 auto options_sp = GetGlobalEnableOptions(debugger_sp); in DoExecute()
1099 DebuggerSP debugger_sp = process.GetTarget().GetDebugger().shared_from_this(); in HandleArrivalOfStructuredData() local
[all …]
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectQuit.cpp40 DebuggerSP debugger_sp(Debugger::GetDebuggerAtIndex(debugger_idx)); in ShouldAskForConfirmation() local
41 if (!debugger_sp) in ShouldAskForConfirmation()
43 const TargetList &target_list(debugger_sp->GetTargetList()); in ShouldAskForConfirmation()
H A DCommandObjectPlatform.cpp1404 DebuggerSP debugger_sp = in SetOptionValue() local
1408 debugger_sp ? debugger_sp->GetPlatformList().GetSelectedPlatform() in SetOptionValue()
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DSourceManager.h40 File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp);
118 SourceManager(const lldb::DebuggerSP &debugger_sp);
H A DDebugger.h113 static void Destroy(lldb::DebuggerSP &debugger_sp);
/openbsd-src/gnu/llvm/lldb/bindings/python/
H A Dpython-swigsafecast.swig62 PythonObject ToSWIGWrapper(lldb::DebuggerSP debugger_sp) {
63 return ToSWIGHelper(new lldb::SBDebugger(std::move(debugger_sp)),
H A Dpython-wrapper.swig215 lldb::DebuggerSP debugger_sp) {
229 return pfunc(ToSWIGWrapper(std::move(debugger_sp)), dict);
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DSWIGPythonBridge.h73 PythonObject ToSWIGWrapper(lldb::DebuggerSP debugger_sp);
134 lldb::DebuggerSP debugger_sp);
H A DScriptInterpreterPython.cpp1936 DebuggerSP debugger_sp(m_debugger.shared_from_this()); in CreateScriptCommandObject() local
1941 if (!debugger_sp.get()) in CreateScriptCommandObject()
1947 class_name, m_dictionary_name.c_str(), debugger_sp); in CreateScriptCommandObject()
2738 lldb::DebuggerSP debugger_sp, ScriptedCommandSynchronicity synchro) in SynchronicityHandler() argument
2739 : m_debugger_sp(debugger_sp), m_synch_wanted(synchro), in SynchronicityHandler()
2740 m_old_asynch(debugger_sp->GetAsyncExecution()) { in SynchronicityHandler()
2762 lldb::DebuggerSP debugger_sp = m_debugger.shared_from_this(); in RunScriptBasedCommand() local
2765 if (!debugger_sp.get()) { in RunScriptBasedCommand()
2780 SynchronicityHandler synch_handler(debugger_sp, synchronicity); in RunScriptBasedCommand()
2784 impl_function, m_dictionary_name.c_str(), debugger_sp, args_str.c_str(), in RunScriptBasedCommand()
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/
H A Dlldb-private-types.h31 const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);
/openbsd-src/gnu/llvm/lldb/include/lldb/API/
H A DSBDebugger.h46 SBDebugger(const lldb::DebuggerSP &debugger_sp);
433 void reset(const lldb::DebuggerSP &debugger_sp);