LLDB mainline
PythonDataObjects.h File Reference
#include "lldb-python.h"
#include "lldb/Host/File.h"
#include "lldb/Utility/StructuredData.h"
#include "llvm/ADT/ArrayRef.h"

Go to the source code of this file.

Classes

class  lldb_private::python::GIL
class  lldb_private::python::NullTerminated
struct  lldb_private::python::PassthroughFormat< T, F >
struct  lldb_private::python::PythonFormat< char * >
struct  lldb_private::python::PythonFormat< const char * >
struct  lldb_private::python::PythonFormat< char >
struct  lldb_private::python::PythonFormat< unsigned char >
struct  lldb_private::python::PythonFormat< short >
struct  lldb_private::python::PythonFormat< unsigned short >
struct  lldb_private::python::PythonFormat< int >
struct  lldb_private::python::PythonFormat< bool >
struct  lldb_private::python::PythonFormat< unsigned int >
struct  lldb_private::python::PythonFormat< long >
struct  lldb_private::python::PythonFormat< unsigned long >
struct  lldb_private::python::PythonFormat< long long >
struct  lldb_private::python::PythonFormat< unsigned long long >
struct  lldb_private::python::PythonFormat< PyObject * >
struct  lldb_private::python::PythonFormat< T, typename std::enable_if< std::is_base_of< PythonObject, T >::value >::type >
class  lldb_private::python::PythonObject
class  lldb_private::python::TypedPythonObject< T >
class  lldb_private::python::PythonBytes
class  lldb_private::python::PythonByteArray
class  lldb_private::python::PythonString
class  lldb_private::python::PythonInteger
class  lldb_private::python::PythonBoolean
class  lldb_private::python::PythonList
class  lldb_private::python::PythonTuple
class  lldb_private::python::PythonDictionary
class  lldb_private::python::PythonModule
class  lldb_private::python::PythonCallable
struct  lldb_private::python::PythonCallable::ArgInfo
class  lldb_private::python::PythonFile
class  lldb_private::python::PythonException
class  lldb_private::python::PythonScript
class  lldb_private::python::StructuredPythonObject

Namespaces

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

Enumerations

enum class  lldb_private::python::PyObjectType {
  lldb_private::python::Unknown , lldb_private::python::None , lldb_private::python::Boolean , lldb_private::python::Integer ,
  lldb_private::python::Dictionary , lldb_private::python::List , lldb_private::python::String , lldb_private::python::Bytes ,
  lldb_private::python::ByteArray , lldb_private::python::Module , lldb_private::python::Callable , lldb_private::python::Tuple ,
  lldb_private::python::File
}
enum class  lldb_private::python::PyRefType { lldb_private::python::Borrowed , lldb_private::python::Owned }
enum class  lldb_private::python::PyInitialValue { lldb_private::python::Invalid , lldb_private::python::Empty }

Functions

template<typename T>
lldb_private::python::Take (PyObject *obj)
template<typename T>
lldb_private::python::Retain (PyObject *obj)
llvm::Error lldb_private::python::nullDeref ()
llvm::Error lldb_private::python::exception (const char *s=nullptr)
llvm::Error lldb_private::python::keyError ()
const char * lldb_private::python::py2_const_cast (const char *s)
template<typename T>
llvm::Expected< T > lldb_private::python::As (llvm::Expected< PythonObject > &&obj)
template<>
llvm::Expected< boollldb_private::python::As< bool > (llvm::Expected< PythonObject > &&obj)
template<>
llvm::Expected< long long > lldb_private::python::As< long long > (llvm::Expected< PythonObject > &&obj)
template<>
llvm::Expected< unsigned long long > lldb_private::python::As< unsigned long long > (llvm::Expected< PythonObject > &&obj)
template<>
llvm::Expected< std::string > lldb_private::python::As< std::string > (llvm::Expected< PythonObject > &&obj)
template<typename T>
lldb_private::python::unwrapOrSetPythonException (llvm::Expected< T > expected)
template<typename T>
lldb_private::python::unwrapIgnoringErrors (llvm::Expected< T > expected)
llvm::Expected< PythonObjectlldb_private::python::runStringOneLine (const llvm::Twine &string, const PythonDictionary &globals, const PythonDictionary &locals)
llvm::Expected< PythonObjectlldb_private::python::runStringMultiLine (const llvm::Twine &string, const PythonDictionary &globals, const PythonDictionary &locals)
PyObject * lldb_private::python::RunString (const char *str, int start, PyObject *globals, PyObject *locals)
int lldb_private::python::RunSimpleString (const char *str)