11#include "lldb/Host/Config.h"
30llvm::Expected<StructuredData::GenericSP>
35 std::make_shared<ExecutionContextRef>(exe_ctx);
37 scripted_metadata, script_obj, exe_ctx_ref_sp,
60 return obj->GetStringValue().str();
82 return obj->GetStringValue().str();
129 return obj->GetAsString()->GetValue().str();
144std::optional<std::string>
153 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 CheckStructuredDataObject(llvm::StringRef caller, T obj, Status &error)
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
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.
StateType
Process and Thread States.
std::shared_ptr< lldb_private::ScriptedFrameInterface > ScriptedFrameInterfaceSP
std::shared_ptr< lldb_private::ExecutionContextRef > ExecutionContextRefSP