|
LLDB mainline
|
#include <PythonDataObjects.h>
Public Member Functions | |
| const char * | toCString () const |
| PythonException (const char *caller=nullptr) | |
| void | Restore () |
| ~PythonException () override | |
| void | log (llvm::raw_ostream &OS) const override |
| std::error_code | convertToErrorCode () const override |
| bool | Matches (PyObject *exc) const |
| std::string | ReadBacktrace () const |
Static Public Attributes | |
| static char | ID = 0 |
Private Attributes | |
| PyObject * | m_exception_type |
| PyObject * | m_exception |
| PyObject * | m_traceback |
| PyObject * | m_repr_bytes |
Definition at line 647 of file PythonDataObjects.h.
| PythonException::PythonException | ( | const char * | caller = nullptr | ) |
Definition at line 915 of file PythonDataObjects.cpp.
References lldb_private::GetLog(), LLDB_LOGF, log(), m_exception, m_exception_type, m_repr_bytes, m_traceback, lldb_private::Script, and toCString().
|
override |
Definition at line 948 of file PythonDataObjects.cpp.
References m_exception, m_exception_type, m_repr_bytes, and m_traceback.
|
override |
Definition at line 957 of file PythonDataObjects.cpp.
|
override |
Definition at line 955 of file PythonDataObjects.cpp.
References lldb_private::OS, and toCString().
Referenced by PythonException().
| bool PythonException::Matches | ( | PyObject * | exc | ) | const |
Definition at line 961 of file PythonDataObjects.cpp.
References m_exception_type.
| std::string PythonException::ReadBacktrace | ( | ) | const |
Definition at line 978 of file PythonDataObjects.cpp.
References lldb_private::python::As< std::string >(), m_exception, m_exception_type, m_traceback, read_exception_script, and toCString().
| void PythonException::Restore | ( | ) |
Definition at line 939 of file PythonDataObjects.cpp.
References m_exception, m_exception_type, m_traceback, and toCString().
| const char * PythonException::toCString | ( | ) | const |
Definition at line 909 of file PythonDataObjects.cpp.
References m_repr_bytes.
Referenced by log(), PythonException(), ReadBacktrace(), and Restore().
|
static |
Definition at line 653 of file PythonDataObjects.h.
|
private |
Definition at line 649 of file PythonDataObjects.h.
Referenced by PythonException(), ReadBacktrace(), Restore(), and ~PythonException().
|
private |
Definition at line 649 of file PythonDataObjects.h.
Referenced by Matches(), PythonException(), ReadBacktrace(), Restore(), and ~PythonException().
|
private |
Definition at line 650 of file PythonDataObjects.h.
Referenced by PythonException(), toCString(), and ~PythonException().
|
private |
Definition at line 649 of file PythonDataObjects.h.
Referenced by PythonException(), ReadBacktrace(), Restore(), and ~PythonException().