LLDB mainline
ScriptedPythonInterface.cpp File Reference
#include "../lldb-python.h"
#include "API/ScriptInterpreterBridge.h"
#include "lldb/API/SBValue.h"
#include "lldb/API/SBValueList.h"
#include "lldb/Host/Config.h"
#include "lldb/Utility/Log.h"
#include "lldb/lldb-enumerations.h"
#include "../ScriptInterpreterPythonImpl.h"
#include "ScriptedPythonInterface.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/ValueObject/ValueObjectList.h"
#include <optional>

Go to the source code of this file.

Functions

template<>
llvm::Expected< StructuredData::ArraySP > ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::ArraySP > (python::PythonObject &p)
template<>
llvm::Expected< StructuredData::DictionarySP > ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::DictionarySP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::StreamSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StreamSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::StackFrameSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ThreadSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::DataExtractorSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DataExtractorSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::BreakpointSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::BreakpointLocationSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointLocationSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ProcessAttachInfoSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessAttachInfoSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ProcessLaunchInfoSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessLaunchInfoSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ThreadPlanSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadPlanSP > (python::PythonObject &p)
template<>
llvm::Expected< std::optional< MemoryRegionInfo > > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< MemoryRegionInfo > > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ExecutionContextRefSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ExecutionContextRefSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::DescriptionLevel > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DescriptionLevel > (python::PythonObject &p)
template<>
llvm::Expected< lldb::StepType > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StepType > (python::PythonObject &p)
template<>
llvm::Expected< lldb::StackFrameListSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameListSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ValueObjectSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::TargetSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::TargetSP > (python::PythonObject &p)
template<>
llvm::Expected< lldb::ValueObjectListSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectListSP > (python::PythonObject &p)
template<>
llvm::Expected< std::optional< lldb::ValueType > > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< lldb::ValueType > > (python::PythonObject &p)
template<>
llvm::Expected< lldb::DebuggerSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DebuggerSP > (python::PythonObject &p)
template<>
llvm::Expected< std::vector< std::string > > ScriptedPythonInterface::ExtractValueFromPythonObject< std::vector< std::string > > (python::PythonObject &p)

Function Documentation

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointLocationSP >()

template<>
llvm::Expected< lldb::BreakpointLocationSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointLocationSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointSP >()

template<>
llvm::Expected< lldb::BreakpointSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DataExtractorSP >()

template<>
llvm::Expected< lldb::DataExtractorSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DataExtractorSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DebuggerSP >()

template<>
llvm::Expected< lldb::DebuggerSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DebuggerSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DescriptionLevel >()

template<>
llvm::Expected< lldb::DescriptionLevel > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DescriptionLevel > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ExecutionContextRefSP >()

template<>
llvm::Expected< lldb::ExecutionContextRefSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ExecutionContextRefSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessAttachInfoSP >()

template<>
llvm::Expected< lldb::ProcessAttachInfoSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessAttachInfoSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessLaunchInfoSP >()

template<>
llvm::Expected< lldb::ProcessLaunchInfoSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessLaunchInfoSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameListSP >()

template<>
llvm::Expected< lldb::StackFrameListSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameListSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameSP >()

template<>
llvm::Expected< lldb::StackFrameSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StepType >()

template<>
llvm::Expected< lldb::StepType > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StepType > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StreamSP >()

template<>
llvm::Expected< lldb::StreamSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StreamSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::TargetSP >()

template<>
llvm::Expected< lldb::TargetSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::TargetSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadPlanSP >()

template<>
llvm::Expected< lldb::ThreadPlanSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadPlanSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadSP >()

template<>
llvm::Expected< lldb::ThreadSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectListSP >()

template<>
llvm::Expected< lldb::ValueObjectListSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectListSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectSP >()

template<>
llvm::Expected< lldb::ValueObjectSP > ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectSP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< lldb::ValueType > >()

template<>
llvm::Expected< std::optional< lldb::ValueType > > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< lldb::ValueType > > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< MemoryRegionInfo > >()

template<>
llvm::Expected< std::optional< MemoryRegionInfo > > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< MemoryRegionInfo > > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< std::vector< std::string > >()

template<>
llvm::Expected< std::vector< std::string > > ScriptedPythonInterface::ExtractValueFromPythonObject< std::vector< std::string > > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::ArraySP >()

template<>
llvm::Expected< StructuredData::ArraySP > ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::ArraySP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.

◆ ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::DictionarySP >()

template<>
llvm::Expected< StructuredData::DictionarySP > ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::DictionarySP > ( python::PythonObject & p)

Definition at line 27 of file ScriptedPythonInterface.cpp.