|
LLDB mainline
|
#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.
| lldb::BreakpointLocationSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointLocationSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 172 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ScriptInterpreterBridge::GetBreakpointLocation(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBBreakpointLocation().
| lldb::BreakpointSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::BreakpointSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 156 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetBreakpoint(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBBreakpoint().
| lldb::DataExtractorSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DataExtractorSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 140 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetDataExtractor(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBData().
| lldb::DebuggerSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DebuggerSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 403 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetDebugger(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBDebugger().
| lldb::DescriptionLevel ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::DescriptionLevel > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 258 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 ) |
Definition at line 239 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ScriptInterpreterBridge::GetExecutionContextRef(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBExecutionContext().
| lldb::ProcessAttachInfoSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessAttachInfoSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 190 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ScriptInterpreterBridge::GetProcessAttachInfo(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBAttachInfo().
| lldb::ProcessLaunchInfoSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ProcessLaunchInfoSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 205 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ScriptInterpreterBridge::GetProcessLaunchInfo(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBLaunchInfo().
| lldb::StackFrameListSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameListSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 276 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetStackFrameList(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBFrameList().
| lldb::StackFrameSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StackFrameSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 100 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetStackFrame(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBFrame().
| lldb::StreamSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::StreamSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 87 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetStream(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBStream().
| lldb::TargetSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::TargetSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 308 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetTarget(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBTarget().
| lldb::ThreadSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ThreadSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 113 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorString(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetThread(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBThread().
| lldb::ValueObjectListSP ScriptedPythonInterface::ExtractValueFromPythonObject< lldb::ValueObjectListSP > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 323 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::ScriptInterpreterBridge::GetValueObject(), 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 293 of file ScriptedPythonInterface.cpp.
References error(), lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::python::PythonObject::get(), lldb_private::ScriptInterpreterBridge::GetValueObject(), and lldb_private::python::LLDBSWIGPython_CastPyObjectToSBValue().
| std::optional< lldb::ValueType > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< lldb::ValueType > > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 323 of file ScriptedPythonInterface.cpp.
| std::optional< MemoryRegionInfo > ScriptedPythonInterface::ExtractValueFromPythonObject< std::optional< MemoryRegionInfo > > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 205 of file ScriptedPythonInterface.cpp.
| std::vector< std::string > ScriptedPythonInterface::ExtractValueFromPythonObject< std::vector< std::string > > | ( | python::PythonObject & | p, |
| Status & | error ) |
Definition at line 403 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 40 of file ScriptedPythonInterface.cpp.
References lldb_private::python::Borrowed, lldb_private::python::PythonDictionary::CreateStructuredDictionary(), error(), and lldb_private::ScriptedPythonInterface::ExtractValueFromPythonObject().