|
LLDB mainline
|
#include "PythonDataObjects.h"#include "ScriptInterpreterPython.h"#include "lldb/Host/File.h"#include "lldb/Host/FileSystem.h"#include "lldb/Interpreter/ScriptInterpreter.h"#include "lldb/Utility/LLDBLog.h"#include "lldb/Utility/Log.h"#include "lldb/Utility/Stream.h"#include "llvm/ADT/ScopeExit.h"#include "llvm/Support/Casting.h"#include "llvm/Support/ConvertUTF.h"#include "llvm/Support/Errno.h"#include <cstdio>#include <variant>Go to the source code of this file.
Functions | |
| template<> | |
| Expected< std::string > | python::As< std::string > (Expected< PythonObject > &&obj) |
| llvm::Expected< File::OpenOptions > | GetOptionsForPyObject (const PythonObject &obj) |
Variables | |
| static const char | get_arg_info_script [] |
| const char | read_exception_script [] |
| llvm::Expected< File::OpenOptions > GetOptionsForPyObject | ( | const PythonObject & | obj | ) |
Definition at line 1002 of file PythonDataObjects.cpp.
References lldb_private::python::As< bool >(), lldb_private::python::PythonObject::CallMethod(), lldb_private::File::eOpenOptionReadOnly, lldb_private::File::eOpenOptionReadWrite, and lldb_private::File::eOpenOptionWriteOnly.
Referenced by lldb_private::python::PythonFile::ConvertToFile().
| Expected< std::string > python::As< std::string > | ( | Expected< PythonObject > && | obj | ) |
Definition at line 1 of file PythonDataObjects.cpp.
|
static |
Definition at line 821 of file PythonDataObjects.cpp.
Referenced by lldb_private::python::PythonCallable::GetArgInfo().
| const char read_exception_script[] |
Definition at line 965 of file PythonDataObjects.cpp.
Referenced by lldb_private::python::PythonException::ReadBacktrace().