12#include "lldb/Host/Config.h"
31llvm::Expected<StructuredData::GenericSP>
36 std::make_shared<ExecutionContextRef>(exe_ctx);
38 scripted_metadata, script_obj, exe_ctx_ref_sp,
61 return obj->GetStringValue().str();
83 return obj->GetStringValue().str();
130 return obj->GetAsString()->GetValue().str();
145std::optional<std::string>
154 return obj->GetStringValue().str();
static llvm::raw_ostream & error(Stream &strm)
ScriptInterpreterPythonImpl::Locker Locker
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
static bool UnregisterPlugin(ABICreateInstance create_callback)
static bool CheckStructuredDataObject(llvm::StringRef caller, T obj, Status &error)
static bool CreateInstance(lldb::ScriptLanguage language, ScriptedInterfaceUsages usages)
ScriptInterpreterPythonImpl & m_interpreter
ScriptedPythonInterface(ScriptInterpreterPythonImpl &interpreter)
T Dispatch(llvm::StringRef method_name, Status &error, Args &&...args)
llvm::Expected< StructuredData::GenericSP > CreatePluginObject(const ScriptedMetadata &scripted_metadata, StructuredData::Generic *script_obj, Args... args)
std::optional< std::string > GetQueue() override
std::optional< std::string > GetScriptedFramePluginName() override
StructuredData::DictionarySP GetStopReason() override
lldb::tid_t GetThreadID() override
lldb::StateType GetState() override
StructuredData::DictionarySP GetRegisterInfo() override
std::optional< std::string > GetRegisterContext() override
static llvm::StringRef GetPluginNameStatic()
ScriptedThreadPythonInterface(ScriptInterpreterPythonImpl &interpreter)
StructuredData::ArraySP GetStackFrames() override
llvm::Expected< StructuredData::GenericSP > CreatePluginObject(const ScriptedMetadata &scripted_metadata, ExecutionContext &exe_ctx, StructuredData::Generic *script_obj=nullptr) override
lldb::ScriptedFrameInterfaceSP CreateScriptedFrameInterface() override
StructuredData::ArraySP GetExtendedInfo() override
std::optional< std::string > GetName() override
std::shared_ptr< Dictionary > DictionarySP
std::shared_ptr< Object > ObjectSP
std::shared_ptr< Array > ArraySP
#define LLDB_INVALID_THREAD_ID
A class that represents a running process on the host machine.
@ eScriptedExtensionScriptedThread
StateType
Process and Thread States.
std::shared_ptr< lldb_private::ScriptedFrameInterface > ScriptedFrameInterfaceSP
std::shared_ptr< lldb_private::ExecutionContextRef > ExecutionContextRefSP