Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSourceManager.cpp70 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() argument
72 m_debugger_wp(debugger_sp) {} in SourceManager()
83 DebuggerSP debugger_sp(m_debugger_wp.lock()); in GetFile() local
86 if (!debugger_sp || !debugger_sp->GetUseSourceCache()) { in GetFile()
91 return std::make_shared<File>(file_spec, debugger_sp); in GetFile()
108 debugger_sp->GetSourceFileCache().RemoveSourceFile(file_sp); in GetFile()
119 FileSP file_sp = debugger_sp->GetSourceFileCache().FindSourceFile(file_spec); in GetFile()
153 file_sp = std::make_shared<File>(file_spec, debugger_sp); in GetFile()
157 debugger_sp->GetSourceFileCache().AddSourceFile(file_spec, file_sp); in GetFile()
165 static bool should_highlight_source(DebuggerSP debugger_sp) { in should_highlight_source() argument
[all …]
H A DDebugger.cpp736 DebuggerSP debugger_sp(new Debugger(log_callback, baton)); in CreateInstance() local
739 g_debugger_list_ptr->push_back(debugger_sp); in CreateInstance()
741 debugger_sp->InstanceInitialize(); in CreateInstance()
742 return debugger_sp; in CreateInstance()
765 void Debugger::Destroy(DebuggerSP &debugger_sp) { in Destroy() argument
766 if (!debugger_sp) in Destroy()
769 debugger_sp->HandleDestroyCallback(); in Destroy()
770 CommandInterpreter &cmd_interpreter = debugger_sp->GetCommandInterpreter(); in Destroy()
773 CommandReturnObject result(debugger_sp->GetUseColor()); in Destroy()
776 (*debugger_sp->GetAsyncOutputStream()) << result.GetOutputData() << '\n'; 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.cpp982 for (auto debugger_sp : requestors) { in DebuggersOwningModuleRequestingInterruption() local
983 if (!debugger_sp->InterruptRequested()) in DebuggersOwningModuleRequestingInterruption()
985 if (debugger_sp->GetTargetList() in DebuggersOwningModuleRequestingInterruption()
987 interruptors.push_back(debugger_sp); in DebuggersOwningModuleRequestingInterruption()
999 for (auto debugger_sp : interruptors) { in GetSymbolFile() local
1000 REPORT_INTERRUPTION(*(debugger_sp.get()), in GetSymbolFile()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBSourceManager.cpp25 SourceManagerImpl(const lldb::DebuggerSP &debugger_sp)
26 : m_debugger_wp(debugger_sp) {} in SourceManagerImpl() argument
52 lldb::DebuggerSP debugger_sp(m_debugger_wp.lock()); in DisplaySourceLinesWithLineNumbers()
53 if (debugger_sp) { in DisplaySourceLinesWithLineNumbers() local
54 return debugger_sp->GetSourceManager() in DisplaySourceLinesWithLineNumbers()
H A DSBDebugger.cpp92 SBDebugger::SBDebugger(const lldb::DebuggerSP &debugger_sp) in SBDebugger() argument
93 : m_opaque_sp(debugger_sp) { in SBDebugger()
94 LLDB_INSTRUMENT_VA(this, debugger_sp); in SBDebugger()
181 auto LoadPlugin = [](const lldb::DebuggerSP &debugger_sp, in InitializeWithErrorHandling()
189 lldb::SBDebugger debugger_sb(debugger_sp); in InitializeWithErrorHandling()
1110 DebuggerSP debugger_sp(m_opaque_sp); in GetSelectedPlatform() local
1111 if (debugger_sp) { in GetSelectedPlatform()
1112 sb_platform.SetSP(debugger_sp->GetPlatformList().GetSelectedPlatform()); in GetSelectedPlatform()
1126 DebuggerSP debugger_sp(m_opaque_sp); in SetSelectedPlatform() local
1127 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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp81 EnableOptionsSP GetGlobalEnableOptions(const DebuggerSP &debugger_sp) { in GetGlobalEnableOptions()
82 if (!debugger_sp) in GetGlobalEnableOptions()
87 DebuggerWP debugger_wp(debugger_sp); in GetGlobalEnableOptions()
95 void SetGlobalEnableOptions(const DebuggerSP &debugger_sp, in SetGlobalEnableOptions()
99 DebuggerWP debugger_wp(debugger_sp); in SetGlobalEnableOptions()
779 DebuggerSP debugger_sp = in DoExecute()
781 SetGlobalEnableOptions(debugger_sp, m_options_sp); in DoExecute()
887 DebuggerSP debugger_sp = in DoExecute()
889 auto options_sp = GetGlobalEnableOptions(debugger_sp); in DoExecute()
1099 DebuggerSP debugger_sp in HandleArrivalOfStructuredData() local
79 GetGlobalEnableOptions(const DebuggerSP & debugger_sp) GetGlobalEnableOptions() argument
93 SetGlobalEnableOptions(const DebuggerSP & debugger_sp,const EnableOptionsSP & options_sp) SetGlobalEnableOptions() argument
777 DebuggerSP debugger_sp = DoExecute() local
886 DebuggerSP debugger_sp = DoExecute() local
1417 DebuggerSP debugger_sp = target->GetDebugger().shared_from_this(); FilterLaunchInfo() local
1658 DebuggerSP debugger_sp = DumpHeader() local
1787 DebuggerSP debugger_sp = EnableNow() 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.cpp1378 DebuggerSP debugger_sp = in SetOptionValue() local
1382 debugger_sp ? debugger_sp->GetPlatformList().GetSelectedPlatform() in SetOptionValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp1761 DebuggerSP debugger_sp(m_debugger.shared_from_this()); in CreateScriptCommandObject() local
1766 if (!debugger_sp.get()) in CreateScriptCommandObject()
1772 class_name, m_dictionary_name.c_str(), debugger_sp); in CreateScriptCommandObject()
2556 lldb::DebuggerSP debugger_sp, ScriptedCommandSynchronicity synchro) in SynchronicityHandler() argument
2557 : m_debugger_sp(debugger_sp), m_synch_wanted(synchro), in SynchronicityHandler()
2558 m_old_asynch(debugger_sp->GetAsyncExecution()) { in SynchronicityHandler()
2580 lldb::DebuggerSP debugger_sp = m_debugger.shared_from_this(); in RunScriptBasedCommand() local
2583 if (!debugger_sp.get()) { in RunScriptBasedCommand()
2598 SynchronicityHandler synch_handler(debugger_sp, synchronicity); in RunScriptBasedCommand()
2602 impl_function, m_dictionary_name.c_str(), debugger_sp, args_str.c_str(), in RunScriptBasedCommand()
[all …]
H A DSWIGPythonBridge.h93 static PythonObject ToSWIGWrapper(lldb::DebuggerSP debugger_sp);
149 lldb::DebuggerSP debugger_sp);
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h41 File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp);
136 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.swig58 PythonObject SWIGBridge::ToSWIGWrapper(lldb::DebuggerSP debugger_sp) {
59 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/
H A Dlldb-private-types.h30 const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBDebugger.h497 SBDebugger(const lldb::DebuggerSP &debugger_sp);
512 void reset(const lldb::DebuggerSP &debugger_sp);