LLDB mainline
ScriptedPythonInterface.h File Reference
#include <optional>
#include <sstream>
#include <tuple>
#include <type_traits>
#include <utility>
#include "lldb/API/SBCommandReturnObject.h"
#include "lldb/Interpreter/Interfaces/ScriptedInterface.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/Policy.h"
#include "../PythonDataObjects.h"
#include "../SWIGPythonBridge.h"
#include "../ScriptInterpreterPythonImpl.h"

Go to the source code of this file.

Classes

class  lldb_private::ScriptedPythonInterface
struct  lldb_private::ScriptedPythonInterface::AbstractMethodCheckerPayload
struct  lldb_private::ScriptedPythonInterface::AbstractMethodCheckerPayload::InvalidArgumentCountPayload

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.

Macros

#define SET_CASE_AND_CONTINUE(method_name, case)

Functions

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

Macro Definition Documentation

◆ SET_CASE_AND_CONTINUE

#define SET_CASE_AND_CONTINUE ( method_name,
case )
Value:
{ \
checker[method_name] = {case, {}}; \
continue; \
}

Referenced by lldb_private::ScriptedPythonInterface::CheckAbstractMethodImplementation().