Home
last modified time | relevance | path

Searched refs:m_interpreter (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DTypeSynthetic.cpp130 m_wrapper_sp(), m_interpreter(nullptr) { in FrontEnd()
141 if (m_interpreter != nullptr) in FrontEnd()
150 if (!m_wrapper_sp || !m_interpreter) in GetChildAtIndex()
161 if (!m_wrapper_sp || m_interpreter == nullptr) in CalculateNumChildren()
167 if (!m_wrapper_sp || m_interpreter == nullptr) in CalculateNumChildren()
173 if (!m_wrapper_sp || m_interpreter == nullptr) in Update()
180 if (!m_wrapper_sp || m_interpreter == nullptr) in MightHaveChildren()
188 if (!m_wrapper_sp || m_interpreter == nullptr) in GetIndexOfChildWithName()
195 if (!m_wrapper_sp || m_interpreter == nullptr) in GetSyntheticValue()
198 return m_interpreter->GetSyntheticValue(m_wrapper_sp); in GetSyntheticValue()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp77 m_interpreter(nullptr), m_python_object_sp() { in OperatingSystemPython()
83 m_interpreter = target_sp->GetDebugger().GetScriptInterpreter(); in OperatingSystemPython()
84 if (m_interpreter) { in OperatingSystemPython()
104 m_interpreter->OSPlugin_CreatePluginObject( in OperatingSystemPython()
117 if (!m_interpreter || !m_python_object_sp) in GetDynamicRegisterInfo()
127 m_interpreter->OSPlugin_RegisterInfo(m_python_object_sp); in GetDynamicRegisterInfo()
142 if (!m_interpreter || !m_python_object_sp) in UpdateThreadList()
161 auto interpreter_lock = m_interpreter->AcquireInterpreterLock(); in UpdateThreadList()
172 m_interpreter->OSPlugin_ThreadsInfo(m_python_object_sp); in UpdateThreadList()
283 if (!m_interpreter || !m_python_object_sp || !thread) in CreateRegisterContextForThread()
[all …]
H A DOperatingSystemPython.h78 lldb_private::ScriptInterpreter *m_interpreter; variable
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectHelp.cpp97 m_interpreter.GetHelp(result, cmd_types); // General help in DoExecute()
103 cmd_obj = m_interpreter.GetCommandObject(command_name, &matches); in DoExecute()
150 m_interpreter.GetCommandPrefix(), sub_command.c_str()); in DoExecute()
156 m_interpreter.GetCommandPrefix(), sub_command.c_str()); in DoExecute()
168 if (m_interpreter.GetAliasFullName(command_name, alias_full_name)) { in DoExecute()
170 m_interpreter.GetAlias(alias_full_name)->GetAliasExpansion(sstr); in DoExecute()
189 CommandObject::GetArgumentHelp(output_strm, arg_type, m_interpreter); in DoExecute()
194 m_interpreter.GetCommandPrefix(), in DoExecute()
207 m_interpreter.HandleCompletionMatches(request); in HandleCompletion()
211 m_interpreter.GetCommandObject(request.GetParsedLine()[0].ref()); in HandleCompletion()
[all …]
H A DCommandObjectCommands.cpp438 if (m_interpreter.CommandExists(alias_command)) { in DoExecute()
490 if (m_interpreter.AliasExists(alias_command) || in HandleAliasingRawCommand()
532 if (m_interpreter.CommandExists(alias_command)) { in HandleAliasingNormalCommand()
592 if (m_interpreter.AliasExists(alias_command) || in HandleAliasingNormalCommand()
598 if (CommandAlias *alias = m_interpreter.AddAlias( in HandleAliasingNormalCommand()
673 if (m_interpreter.CommandExists(command_name)) { in DoExecute()
687 if (!m_interpreter.RemoveAlias(command_name)) { in DoExecute()
688 if (m_interpreter.AliasExists(command_name)) in DoExecute()
1667 m_interpreter.RemoveAllUser(); in DoExecute()
1719 if (!m_interpreter.HasUserCommands() && in DoExecute()
[all …]
H A DCommandObjectQuit.cpp34 if (!m_interpreter.GetPromptOnQuit()) in ShouldAskForConfirmation()
72 if (!m_interpreter.Confirm(message.GetString(), true)) { in DoExecute()
95 if (!m_interpreter.SetQuitExitCode(exit_code)) { in DoExecute()
104 m_interpreter.BroadcastEvent(event_type); in DoExecute()
H A DCommandObjectApropos.cpp52 m_interpreter.FindCommandsForApropos( in DoExecute()
67 m_interpreter.OutputFormattedHelpText( in DoExecute()
83 m_interpreter, result.GetOutputStream(), 0, dump_qualified_name); in DoExecute()
H A DCommandObjectSession.cpp46 if (m_interpreter.SaveTranscript(result, file_path.str())) in DoExecute()
134 m_interpreter.GetCommandHistory().Clear(); in DoExecute()
153 const CommandHistory &history(m_interpreter.GetCommandHistory()); in DoExecute()
H A DCommandObjectRegexCommand.cpp72 if (m_interpreter.GetExpandRegexAliases()) in DoExecute()
76 return m_interpreter.HandleCommand(new_command->c_str(), in DoExecute()
H A DCommandObjectExpression.cpp279 ExecutionContext exe_ctx(m_interpreter.GetExecutionContext()); in HandleCompletion()
388 ExecutionContext exe_ctx(m_interpreter.GetExecutionContext()); in EvaluateExpression()
579 m_interpreter.GetIOHandler(false)->SetIsDone(true); in DoExecute()
630 CommandHistory &history = m_interpreter.GetCommandHistory(); in DoExecute()
H A DCommandObjectTarget.cpp1990 if (m_interpreter.WasInterrupted()) in DoExecute()
2017 if (m_interpreter.WasInterrupted()) in DoExecute()
2078 if (m_interpreter.WasInterrupted()) in DoExecute()
2082 m_interpreter, result.GetOutputStream(), in DoExecute()
2096 if (m_interpreter.WasInterrupted()) in DoExecute()
2210 if (m_interpreter.WasInterrupted()) in DoExecute()
2235 if (m_interpreter.WasInterrupted()) in DoExecute()
2284 if (m_interpreter.WasInterrupted()) in DoExecute()
2300 if (m_interpreter.WasInterrupted()) in DoExecute()
2367 if (m_interpreter.WasInterrupted()) in DoExecute()
[all …]
H A DCommandObjectScript.cpp81 ? m_interpreter.GetDebugger().GetScriptLanguage() in DoExecute()
H A DCommandObjectProcess.cpp76 if (!m_interpreter.Confirm(message, true)) { in StopProcessIfNecessary()
479 m_interpreter.HandleCommand("process continue", eLazyBoolNo, exe_ctx, result); in DoExecute()
557 bool synchronous_execution = m_interpreter.GetSynchronous(); in DoExecute()
967 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute()
1001 Process *process = m_interpreter.GetExecutionContext().GetProcessPtr(); in GetProxyCommandObject()
1844 if (m_interpreter.Confirm( in DoExecute()
1895 return trace.GetProcessTraceStartCommand(m_interpreter); in GetDelegateCommand()
H A DCommandObjectSettings.cpp168 value_sp->AutoComplete(m_interpreter, request); in HandleArgumentCompletion()
473 m_interpreter.HandleCommandsFromFile(file, options, result); in DoExecute()
536 property->DumpDescription(m_interpreter, result.GetOutputStream(), 0, in DoExecute()
544 GetDebugger().DumpAllDescriptions(m_interpreter, in DoExecute()
H A DCommandObjectMultiword.cpp243 m_interpreter.OutputFormattedHelpText(output_stream, indented_command, in GenerateHelpText()
246 m_interpreter.OutputFormattedHelpText(output_stream, indented_command, in GenerateHelpText()
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPythonInterface.cpp27 : ScriptedInterface(), m_interpreter(interpreter) {} in ScriptedPythonInterface()
58 error = m_interpreter.GetStatusFromSBError(*sb_error); in ExtractValueFromPythonObject()
78 return m_interpreter.GetDataExtractorFromSBData(*sb_data); in ExtractValueFromPythonObject()
96 return m_interpreter.GetOpaqueTypeFromSBMemoryRegionInfo(*sb_mem_reg_info); in ExtractValueFromPythonObject()
H A DScriptedProcessPythonInterface.cpp42 Locker py_lock(&m_interpreter, Locker::AcquireLock | Locker::NoSTDIN, in CreatePluginObject()
46 class_name.str().c_str(), m_interpreter.GetDictionaryName(), target_sp, in CreatePluginObject()
177 return std::make_shared<ScriptedThreadPythonInterface>(m_interpreter); in CreateScriptedThreadInterface()
H A DScriptedThreadPythonInterface.cpp41 Locker py_lock(&m_interpreter, Locker::AcquireLock | Locker::NoSTDIN, in CreatePluginObject()
48 class_name.str().c_str(), m_interpreter.GetDictionaryName(), process_sp, in CreatePluginObject()
H A DScriptedPythonInterface.h49 Locker py_lock(&m_interpreter, Locker::AcquireLock | Locker::NoSTDIN, in Dispatch()
126 ScriptInterpreterPythonImpl &m_interpreter; variable
/llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp49 lldbassert(m_interpreter && "Invalid Script Interpreter."); in CheckInterpreterAndScriptObject()
95 m_interpreter = target_sp->GetDebugger().GetScriptInterpreter(); in ScriptedProcess()
97 if (!m_interpreter) { in ScriptedProcess()
218 if (m_interpreter && m_script_object_sp) in IsAlive()
225 if (!m_interpreter) in DoReadMemory()
294 ScriptLanguage language = m_interpreter->GetLanguage(); in DoUpdateThreadList()
300 llvm::Twine(m_interpreter->LanguageToString(language)) + in DoUpdateThreadList()
489 return m_interpreter->GetScriptedProcessInterface(); in GetInterface()
H A DScriptedProcess.h115 lldb_private::ScriptInterpreter *m_interpreter = nullptr; variable
/llvm-project-15.0.7/lldb/source/Target/
H A DStackFrameRecognizer.cpp28 : m_interpreter(interpreter), m_python_class(pclass) { in ScriptedStackFrameRecognizer()
30 m_interpreter->CreateFrameRecognizer(m_python_class.c_str()); in ScriptedStackFrameRecognizer()
35 if (!m_python_object_sp || !m_interpreter) in RecognizeFrame()
39 m_interpreter->GetRecognizedArguments(m_python_object_sp, frame); in RecognizeFrame()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandObject.cpp46 : m_interpreter(interpreter), m_cmd_name(std::string(name)), in CommandObject()
53 Debugger &CommandObject::GetDebugger() { return m_interpreter.GetDebugger(); } in GetDebugger()
161 m_exe_ctx = m_interpreter.GetExecutionContext(); in CheckRequirements()
219 Process *process = m_interpreter.GetExecutionContext().GetProcessPtr(); in CheckRequirements()
277 m_exe_ctx = m_interpreter.GetExecutionContext(); in HandleCompletion()
290 CommandReturnObject result(m_interpreter.GetDebugger().GetUseColor()); in HandleCompletion()
681 return m_interpreter.GetDebugger().GetDummyTarget(); in GetDummyTarget()
685 return m_interpreter.GetDebugger().GetSelectedOrDummyTarget(prefer_dummy); in GetSelectedOrDummyTarget()
694 return *m_interpreter.GetDebugger().GetSelectedTarget(); in GetSelectedTarget()
706 target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in GetDefaultThread()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DCommandObject.h122 CommandInterpreter &GetCommandInterpreter() { return m_interpreter; } in GetCommandInterpreter()
368 CommandInterpreter &m_interpreter; variable
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DStackFrameRecognizer.h76 lldb_private::ScriptInterpreter *m_interpreter; variable

12