Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/source/Core/
H A DSourceManager.cpp68 m_debugger_wp(debugger_sp) {} in SourceManager()
82 if (debugger_sp && debugger_sp->GetUseSourceCache()) in GetFile()
105 if (debugger_sp && debugger_sp->GetUseSourceCache()) in GetFile()
112 if (!debugger_sp) in should_highlight_source()
117 if (!debugger_sp->GetUseColor()) in should_highlight_source()
120 return debugger_sp->GetHighlightSource(); in should_highlight_source()
126 if (!debugger_sp) in should_show_stop_column_with_ansi()
131 if (!debugger_sp->GetUseColor()) in should_show_stop_column_with_ansi()
145 if (!debugger_sp) in should_show_stop_column_with_caret()
160 return debugger_sp && debugger_sp->GetUseColor(); in should_show_stop_line_with_ansi()
[all …]
H A DDebugger.cpp659 return debugger_sp; in CreateInstance()
663 if (!debugger_sp) in Destroy()
677 debugger_sp->Clear(); in Destroy()
692 DebuggerSP debugger_sp; in FindDebuggerWithInstanceName() local
703 return debugger_sp; in FindDebuggerWithInstanceName()
1220 DebuggerSP debugger_sp; in GetDebuggerAtIndex() local
1228 return debugger_sp; in GetDebuggerAtIndex()
1232 DebuggerSP debugger_sp; in FindDebuggerWithID() local
1244 return debugger_sp; in FindDebuggerWithID()
1320 if (debugger_sp) in ReportProgress()
[all …]
/llvm-project-15.0.7/lldb/unittests/Core/
H A DDiagnosticEventTest.cpp56 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
58 Broadcaster &broadcaster = debugger_sp->GetBroadcaster(); in TEST_F()
66 Debugger::ReportWarning("foo", debugger_sp->GetID()); in TEST_F()
78 Debugger::Destroy(debugger_sp); in TEST_F()
82 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
84 Broadcaster &broadcaster = debugger_sp->GetBroadcaster(); in TEST_F()
91 Debugger::ReportError("bar", debugger_sp->GetID()); in TEST_F()
103 Debugger::Destroy(debugger_sp); in TEST_F()
141 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
172 Debugger::ReportWarning("foo", debugger_sp->GetID()); in TEST_F()
[all …]
/llvm-project-15.0.7/lldb/unittests/Target/
H A DExecutionContextTest.cpp80 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
81 ASSERT_TRUE(debugger_sp); in TEST_F()
85 Status error = debugger_sp->GetTargetList().CreateTarget( in TEST_F()
86 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in TEST_F()
102 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
103 ASSERT_TRUE(debugger_sp); in TEST_F()
107 Status error = debugger_sp->GetTargetList().CreateTarget( in TEST_F()
108 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in TEST_F()
H A DStackFrameRecognizerTest.cpp67 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
68 ASSERT_TRUE(debugger_sp); in TEST_F()
/llvm-project-15.0.7/lldb/unittests/Thread/
H A DThreadTest.cpp84 TargetSP CreateTarget(DebuggerSP &debugger_sp, ArchSpec &arch) { in CreateTarget() argument
87 debugger_sp->GetTargetList().CreateTarget( in CreateTarget()
88 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in CreateTarget()
99 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
100 ASSERT_TRUE(debugger_sp); in TEST_F()
102 TargetSP target_sp = CreateTarget(debugger_sp, arch); in TEST_F()
134 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
135 ASSERT_TRUE(debugger_sp); in TEST_F()
137 TargetSP target_sp = CreateTarget(debugger_sp, arch); in TEST_F()
/llvm-project-15.0.7/lldb/unittests/Process/
H A DProcessEventDataTest.cpp111 TargetSP CreateTarget(DebuggerSP &debugger_sp, ArchSpec &arch) { in CreateTarget() argument
114 debugger_sp->GetTargetList().CreateTarget( in CreateTarget()
115 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in CreateTarget()
149 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
150 ASSERT_TRUE(debugger_sp); in TEST_F()
152 TargetSP target_sp = CreateTarget(debugger_sp, arch); in TEST_F()
189 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
190 ASSERT_TRUE(debugger_sp); in TEST_F()
192 TargetSP target_sp = CreateTarget(debugger_sp, arch); in TEST_F()
/llvm-project-15.0.7/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.cpp128 : m_opaque_sp(debugger_sp) { in SBDebugger()
129 LLDB_INSTRUMENT_VA(this, debugger_sp); in SBDebugger()
1058 DebuggerSP debugger_sp(m_opaque_sp); in GetSelectedPlatform() local
1059 if (debugger_sp) { in GetSelectedPlatform()
1074 DebuggerSP debugger_sp(m_opaque_sp); in SetSelectedPlatform() local
1075 if (debugger_sp) { in SetSelectedPlatform()
1254 m_opaque_sp = debugger_sp; in reset()
1272 if (debugger_sp) in FindDebuggerWithID()
1273 sb_debugger.reset(debugger_sp); in FindDebuggerWithID()
1291 if (debugger_sp) { in SetInternalVariable()
[all …]
H A DSBTypeCategory.cpp398 DebuggerSP debugger_sp = lldb_private::Debugger::GetDebuggerAtIndex(j); in AddTypeSummary() local
399 if (debugger_sp) { in AddTypeSummary()
401 debugger_sp->GetScriptInterpreter(); in AddTypeSummary()
512 DebuggerSP debugger_sp = lldb_private::Debugger::GetDebuggerAtIndex(j); in AddTypeSynthetic() local
513 if (debugger_sp) { in AddTypeSynthetic()
515 debugger_sp->GetScriptInterpreter(); in AddTypeSynthetic()
/llvm-project-15.0.7/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp80 if (!debugger_sp) in GetGlobalEnableOptions()
85 DebuggerWP debugger_wp(debugger_sp); in GetGlobalEnableOptions()
97 DebuggerWP debugger_wp(debugger_sp); in SetGlobalEnableOptions()
777 DebuggerSP debugger_sp = in DoExecute() local
885 DebuggerSP debugger_sp = in DoExecute() local
1422 if (!options_sp && debugger_sp) { in FilterLaunchInfo()
1664 DebuggerSP debugger_sp = in DumpHeader() local
1666 if (!debugger_sp) { in DumpHeader()
1793 DebuggerSP debugger_sp = in EnableNow() local
1795 if (!debugger_sp) { in EnableNow()
[all …]
/llvm-project-15.0.7/lldb/unittests/Platform/
H A DPlatformSiginfoTest.cpp34 DebuggerSP debugger_sp; member in __anon835f45670111::PlatformSiginfoTest
102 debugger_sp = Debugger::CreateInstance(); in InitializeSiginfo()
103 ASSERT_TRUE(debugger_sp); in InitializeSiginfo()
105 debugger_sp->GetTargetList().CreateTarget( in InitializeSiginfo()
106 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in InitializeSiginfo()
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Lua/
H A DScriptInterpreterTests.cpp47 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
48 ASSERT_TRUE(debugger_sp); in TEST_F()
50 ScriptInterpreterLua script_interpreter(*debugger_sp); in TEST_F()
/llvm-project-15.0.7/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.cpp1403 DebuggerSP debugger_sp = in SetOptionValue() local
1407 debugger_sp ? debugger_sp->GetPlatformList().GetSelectedPlatform() in SetOptionValue()
/llvm-project-15.0.7/lldb/unittests/Interpreter/
H A DTestCommandPaths.cpp112 DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
113 ASSERT_TRUE(debugger_sp); in TEST_F()
115 CommandInterpreter &interp = debugger_sp->GetCommandInterpreter(); in TEST_F()
/llvm-project-15.0.7/lldb/unittests/Expression/
H A DDWARFExpressionTest.cpp356 lldb::DebuggerSP debugger_sp = Debugger::CreateInstance(); in TEST_F() local
357 ASSERT_TRUE(debugger_sp); in TEST_F()
360 debugger_sp->GetTargetList().CreateTarget( in TEST_F()
361 *debugger_sp, "", arch, eLoadDependentsNo, platform_sp, target_sp); in TEST_F()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DSourceManager.h39 File(const FileSpec &file_spec, lldb::DebuggerSP debugger_sp);
117 SourceManager(const lldb::DebuggerSP &debugger_sp);
H A DDebugger.h111 static void Destroy(lldb::DebuggerSP &debugger_sp);
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-swigsafecast.swig80 PythonObject ToSWIGWrapper(lldb::DebuggerSP debugger_sp) {
81 return ToSWIGHelper(new lldb::SBDebugger(std::move(debugger_sp)),
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp2025 DebuggerSP debugger_sp(m_debugger.shared_from_this()); in CreateScriptCommandObject() local
2030 if (!debugger_sp.get()) in CreateScriptCommandObject()
2036 class_name, m_dictionary_name.c_str(), debugger_sp); in CreateScriptCommandObject()
2840 : m_debugger_sp(debugger_sp), m_synch_wanted(synchro), in SynchronicityHandler()
2841 m_old_asynch(debugger_sp->GetAsyncExecution()) { in SynchronicityHandler()
2863 lldb::DebuggerSP debugger_sp = m_debugger.shared_from_this(); in RunScriptBasedCommand() local
2866 if (!debugger_sp.get()) { in RunScriptBasedCommand()
2881 SynchronicityHandler synch_handler(debugger_sp, synchronicity); in RunScriptBasedCommand()
2907 lldb::DebuggerSP debugger_sp = m_debugger.shared_from_this(); in RunScriptBasedCommand() local
2910 if (!debugger_sp.get()) { in RunScriptBasedCommand()
[all …]
H A DSWIGPythonBridge.h93 lldb::DebuggerSP debugger_sp);
/llvm-project-15.0.7/lldb/include/lldb/
H A Dlldb-private-types.h29 const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBDebugger.h46 SBDebugger(const lldb::DebuggerSP &debugger_sp);
416 void reset(const lldb::DebuggerSP &debugger_sp);
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonTestSuite.cpp85 lldb::DebuggerSP debugger_sp) { in LLDBSwigPythonCreateCommandObject() argument

12