Home
last modified time | relevance | path

Searched refs:PythonException (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp64 return llvm::make_error<PythonException>(); in As()
378 return llvm::make_error<PythonException>(); in FromUTF8()
1015 const char *PythonException::toCString() const { in toCString()
1021 PythonException::PythonException(const char *caller) { in PythonException() function in PythonException
1045 void PythonException::Restore() { in Restore()
1054 PythonException::~PythonException() { in ~PythonException()
1061 void PythonException::log(llvm::raw_ostream &OS) const { OS << toCString(); } in log()
1063 std::error_code PythonException::convertToErrorCode() const { in convertToErrorCode()
1067 bool PythonException::Matches(PyObject *exc) const { in Matches()
1084 std::string PythonException::ReadBacktrace() const { in ReadBacktrace()
[all …]
DPythonDataObjects.h72 class PythonException; variable
188 return llvm::make_error<PythonException>(s);
658 class PythonException : public llvm::ErrorInfo<PythonException> {
666 PythonException(const char *caller = nullptr);
668 ~PythonException();
700 expected.takeError(), [](PythonException &E) { E.Restore(); },
DScriptInterpreterPython.cpp1074 [&](PythonException &E) { in ExecuteOneLineWithReturn()
1186 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()
2311 [&](PythonException &E) { in BreakpointCallbackFunction()
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp812 foo(), llvm::Failed<PythonException>(testing::Property( in TEST_F()
813 &PythonException::ReadBacktrace, in TEST_F()
832 llvm::Failed<PythonException>(testing::Property( in TEST_F()
833 &PythonException::ReadBacktrace, in TEST_F()
/external/llvm-project/lldb/bindings/python/
Dpython-wrapper.swig298 [&](PythonException &E) {