9#include "lldb/Host/Config.h"
31llvm::Expected<StructuredData::GenericSP>
36 std::make_shared<ExecutionContextRef>(exe_ctx);
39 exe_ctx_ref_sp, sd_impl);
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 CheckStructuredDataObject(llvm::StringRef caller, T obj, Status &error)
llvm::Expected< StructuredData::GenericSP > CreatePluginObject(llvm::StringRef class_name, StructuredData::Generic *script_obj, Args... args)
ScriptInterpreterPythonImpl & m_interpreter
ScriptedPythonInterface(ScriptInterpreterPythonImpl &interpreter)
T Dispatch(llvm::StringRef method_name, Status &error, 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
lldb::ScriptedFrameInterfaceSP CreateScriptedFrameInterface() override
StructuredData::ArraySP GetExtendedInfo() override
llvm::Expected< StructuredData::GenericSP > CreatePluginObject(llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr) 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