Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DTypeSynthetic.cpp161 m_wrapper_sp(), m_interpreter(nullptr) { in FrontEnd()
170 m_interpreter = target_sp->GetDebugger().GetScriptInterpreter(); in FrontEnd()
172 if (m_interpreter != nullptr) in FrontEnd()
173 m_wrapper_sp = m_interpreter->CreateSyntheticScriptedProvider( in FrontEnd()
181 if (!m_wrapper_sp || !m_interpreter) in GetChildAtIndex()
184 return m_interpreter->GetChildAtIndex(m_wrapper_sp, idx); in GetChildAtIndex()
188 return (m_wrapper_sp && m_wrapper_sp->IsValid() && m_interpreter); in IsValid()
193 if (!m_wrapper_sp || m_interpreter == nullptr) in CalculateNumChildren()
195 return m_interpreter->CalculateNumChildren(m_wrapper_sp, UINT32_MAX); in CalculateNumChildren()
200 if (!m_wrapper_sp || m_interpreter == nullptr) in CalculateNumChildren()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectHelp.cpp86 m_interpreter.GetHelp(result, cmd_types); // General help in DoExecute()
92 cmd_obj = m_interpreter.GetCommandObject(command_name, &matches); in DoExecute()
139 m_interpreter.GetCommandPrefix(), sub_command.c_str()); in DoExecute()
145 m_interpreter.GetCommandPrefix(), sub_command.c_str()); in DoExecute()
157 if (m_interpreter.GetAliasFullName(command_name, alias_full_name)) { in DoExecute()
159 m_interpreter.GetAlias(alias_full_name)->GetAliasExpansion(sstr); in DoExecute()
178 CommandObject::GetArgumentHelp(output_strm, arg_type, m_interpreter); in DoExecute()
183 m_interpreter.GetCommandPrefix(), in DoExecute()
194 m_interpreter.HandleCompletionMatches(request); in HandleCompletion()
198 m_interpreter.GetCommandObject(request.GetParsedLine()[0].ref()); in HandleCompletion()
[all …]
H A DCommandObjectCommands.cpp164 options.SetEchoCommands(m_interpreter.GetEchoCommands()); in DoExecute()
165 options.SetEchoCommentCommands(m_interpreter.GetEchoCommentCommands()); in DoExecute()
169 m_interpreter.HandleCommandsFromFile(cmd_file, options, result); in DoExecute()
418 if (m_interpreter.CommandExists(alias_command)) { in DoExecute()
425 if (m_interpreter.UserMultiwordCommandExists(alias_command)) { in DoExecute()
438 m_interpreter.GetCommandObjectForCommand(raw_command_string); in DoExecute()
470 CommandObjectSP cmd_obj_sp = m_interpreter.GetCommandSPExact( in HandleAliasingRawCommand()
475 if (m_interpreter.AliasExists(alias_command) || in HandleAliasingRawCommand()
476 m_interpreter.UserCommandExists(alias_command)) { in HandleAliasingRawCommand()
481 if (CommandAlias *alias = m_interpreter.AddAlias( in HandleAliasingRawCommand()
[all …]
H A DCommandObjectQuit.cpp33 if (!m_interpreter.GetPromptOnQuit()) in ShouldAskForConfirmation()
71 if (!m_interpreter.Confirm(message.GetString(), true)) { in DoExecute()
94 if (!m_interpreter.SetQuitExitCode(exit_code)) { in DoExecute()
103 m_interpreter.BroadcastEvent(event_type); in DoExecute()
H A DCommandObjectApropos.cpp40 m_interpreter.FindCommandsForApropos( in DoExecute()
55 m_interpreter.OutputFormattedHelpText( in DoExecute()
71 m_interpreter, result.GetOutputStream(), 0, dump_qualified_name); in DoExecute()
H A DCommandObjectSession.cpp36 if (m_interpreter.SaveTranscript(result, file_path.str())) in DoExecute()
123 m_interpreter.GetCommandHistory().Clear(); in DoExecute()
142 const CommandHistory &history(m_interpreter.GetCommandHistory()); in DoExecute()
H A DCommandObjectRegexCommand.cpp71 if (m_interpreter.GetExpandRegexAliases()) in DoExecute()
76 m_interpreter.HandleCommand(new_command->c_str(), eLazyBoolNo, result, in DoExecute()
H A DCommandObjectExpression.cpp340 ExecutionContext exe_ctx(m_interpreter.GetExecutionContext()); in HandleCompletion()
408 ExecutionContext exe_ctx(m_interpreter.GetExecutionContext()); in EvaluateExpression()
622 m_interpreter.GetIOHandler(false)->SetIsDone(true); in DoExecute()
673 CommandHistory &history = m_interpreter.GetCommandHistory(); in DoExecute()
H A DCommandObjectProcess.cpp79 if (!m_interpreter.Confirm(message, true)) { in StopProcessIfNecessary()
411 m_interpreter.HandleCommand("process continue", eLazyBoolNo, exe_ctx, result); in DoExecute()
488 bool synchronous_execution = m_interpreter.GetSynchronous(); in DoExecute()
892 PlatformSP platform_sp = m_interpreter.GetPlatform(true); in DoExecute()
924 Process *process = m_interpreter.GetExecutionContext().GetProcessPtr(); in GetProxyCommandObject()
1726 if (m_interpreter.Confirm( in DoExecute()
1775 return trace.GetProcessTraceStartCommand(m_interpreter); in GetDelegateCommand()
H A DCommandObjectScripting.cpp92 ? m_interpreter.GetDebugger().GetScriptLanguage() in DoExecute()
H A DCommandObjectSettings.cpp168 value_sp->AutoComplete(m_interpreter, request); in HandleArgumentCompletion()
435 m_interpreter.HandleCommandsFromFile(file, options, result); in DoExecute()
496 property->DumpDescription(m_interpreter, result.GetOutputStream(), 0, in DoExecute()
504 GetDebugger().DumpAllDescriptions(m_interpreter, in DoExecute()
H A DCommandObjectMultiword.cpp238 m_interpreter.OutputFormattedHelpText(output_stream, indented_command, in GenerateHelpText()
241 m_interpreter.OutputFormattedHelpText(output_stream, indented_command, in GenerateHelpText()
H A DCommandObjectTarget.cpp981 m_interpreter.PrintWarningsIfNecessary(result.GetOutputStream(), in DoExecute()
2031 DumpModuleSymtab(m_interpreter, result.GetOutputStream(), in DoExecute()
2061 DumpModuleSymtab(m_interpreter, result.GetOutputStream(), in DoExecute()
2125 m_interpreter, result.GetOutputStream(), in DoExecute()
2147 DumpModuleSections(m_interpreter, result.GetOutputStream(), in DoExecute()
2426 m_interpreter, result.GetOutputStream(), module_sp.get(), in DoExecute()
3972 if (LookupTypeHere(&GetSelectedTarget(), m_interpreter, in LookupHere()
3991 m_interpreter, result.GetOutputStream(), module, in LookupInModule()
4006 if (LookupSymbolInModule(m_interpreter, result.GetOutputStream(), in LookupInModule()
4019 m_interpreter, result.GetOutputStream(), module, in LookupInModule()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.cpp27 : ScriptedInterface(), m_interpreter(interpreter) {} in ScriptedPythonInterface()
50 return m_interpreter.GetStatusFromSBError(*sb_error); in ExtractValueFromPythonObject()
61 return m_interpreter.GetOpaqueTypeFromSBEvent(*sb_event); in ExtractValueFromPythonObject()
73 return m_interpreter.GetOpaqueTypeFromSBStream(*sb_stream); in ExtractValueFromPythonObject()
92 return m_interpreter.GetDataExtractorFromSBData(*sb_data); in ExtractValueFromPythonObject()
108 return m_interpreter.GetOpaqueTypeFromSBBreakpoint(*sb_breakpoint); in ExtractValueFromPythonObject()
123 return m_interpreter.GetOpaqueTypeFromSBAttachInfo(*sb_attach_info); in ExtractValueFromPythonObject()
138 return m_interpreter.GetOpaqueTypeFromSBLaunchInfo(*sb_launch_info); in ExtractValueFromPythonObject()
156 return m_interpreter.GetOpaqueTypeFromSBMemoryRegionInfo(*sb_mem_reg_info); in ExtractValueFromPythonObject()
H A DScriptedPythonInterface.h87 !(llvm::StringRef(m_interpreter.GetDictionaryName()).empty()); in CreatePluginObject()
97 Locker py_lock(&m_interpreter, Locker::AcquireLock | Locker::NoSTDIN, in CreatePluginObject()
108 m_interpreter.GetDictionaryName()); in CreatePluginObject()
112 m_interpreter.GetDictionaryName())); in CreatePluginObject()
244 Locker py_lock(&m_interpreter, Locker::AcquireLock | Locker::NoSTDIN, in Dispatch()
428 ScriptInterpreterPythonImpl &m_interpreter; variable
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPythonInterface.cpp
H A DScriptedProcessPythonInterface.cpp
H A DScriptedPlatformPythonInterface.cpp
H A DScriptedThreadPythonInterface.cpp
H A DScriptedPythonInterface.h
/freebsd/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp77 m_interpreter(nullptr), m_script_object_sp() { in OperatingSystemPython()
83 m_interpreter = target_sp->GetDebugger().GetScriptInterpreter(); in OperatingSystemPython()
84 if (!m_interpreter) in OperatingSystemPython()
97 if (!m_interpreter->LoadScriptingModule(python_module_path_cstr, options, in OperatingSystemPython()
110 m_interpreter->CreateOperatingSystemInterface(); in OperatingSystemPython()
141 if (!m_interpreter || !m_operating_system_interface_sp) in GetDynamicRegisterInfo()
167 if (!m_interpreter || !m_operating_system_interface_sp) in UpdateThreadList()
292 if (!m_interpreter || !m_script_object_sp || !thread) in CreateRegisterContextForThread()
368 if (m_interpreter && m_script_object_sp) { in CreateThread()
H A DOperatingSystemPython.h78 lldb_private::ScriptInterpreter *m_interpreter = nullptr; variable
/freebsd/contrib/llvm-project/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()
758 return m_interpreter.GetDebugger().GetDummyTarget(); in GetDummyTarget()
762 return m_interpreter.GetDebugger().GetSelectedOrDummyTarget(prefer_dummy); in GetSelectedOrDummyTarget()
771 return *m_interpreter.GetDebugger().GetSelectedTarget(); in GetSelectedTarget()
783 target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in GetDefaultThread()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DCommandObject.h124 CommandInterpreter &GetCommandInterpreter() { return m_interpreter; } in GetCommandInterpreter()
399 CommandInterpreter &m_interpreter; variable

12