|
LLDB mainline
|
#include "../lldb-python.h"#include "lldb/API/SBDebugger.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.
| lldb::BreakpointLocationSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointLocationSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
| lldb::BreakpointSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 154 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBBreakpoint().
| lldb::DataExtractorSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DataExtractorSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 138 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBData().
| lldb::DebuggerSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DebuggerSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 401 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBDebugger().
| lldb::DescriptionLevel ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DescriptionLevel > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 256 of file ScriptedPythonInterface.cpp.
References lldb_private::python::PythonObject::AsUnsignedLongLong(), lldb::eDescriptionLevelBrief, error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromError(), lldb::kNumDescriptionLevels, and lldb_private::Status.
| lldb::ExecutionContextRefSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ExecutionContextRefSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
| lldb::ProcessAttachInfoSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessAttachInfoSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
| lldb::ProcessLaunchInfoSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessLaunchInfoSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
| lldb::StackFrameListSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameListSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 274 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBFrameList().
| lldb::StackFrameSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
| lldb::StreamSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StreamSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 85 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBStream().
| lldb::TargetSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::TargetSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 306 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBTarget().
| lldb::ThreadSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 111 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBThread().
| lldb::ValueObjectListSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectListSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 321 of file ScriptedPythonInterface.cpp.
References lldb_private::python::PythonObject::CreateStructuredObject(), error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::StructuredData::Array::ForEach(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::Status::FromErrorStringWithFormatv(), lldb_private::python::PythonObject::get(), lldb_private::StructuredData::Object::GetAsGeneric(), lldb_private::python::LLDBSWIGPython_CastPyObjectToSBValue(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBValueList().
| lldb::ValueObjectSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 291 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBValue().
| std::optional< lldb::ValueType > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< lldb::ValueType > > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 321 of file ScriptedPythonInterface.cpp.
| std::optional< MemoryRegionInfo > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< MemoryRegionInfo > > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 203 of file ScriptedPythonInterface.cpp.
| std::vector< std::string > ScriptedPythonInterface::ExtractValueFromPythonObject< std::vector< std::string > > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 401 of file ScriptedPythonInterface.cpp.
| StructuredData::ArraySP ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::ArraySP > | ( | python::PythonObject & | p, |
| Status & | error ) |
| StructuredData::DictionarySP ScriptedPythonInterface::ExtractValueFromPythonObject< StructuredData::DictionarySP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 38 of file ScriptedPythonInterface.cpp.
References lldb_private::python::Borrowed, lldb_private::python::PythonDictionary::CreateStructuredDictionary(), error(), and lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject().