Searched refs:PythonException (Results 1 – 4 of 4) sorted by relevance
65 return llvm::make_error<PythonException>(); in As()388 return llvm::make_error<PythonException>(); in FromUTF8()956 const char *PythonException::toCString() const { in toCString()962 PythonException::PythonException(const char *caller) { in PythonException() function in PythonException986 void PythonException::Restore() { in Restore()995 PythonException::~PythonException() { in ~PythonException()1002 void PythonException::log(llvm::raw_ostream &OS) const { OS << toCString(); } in log()1004 std::error_code PythonException::convertToErrorCode() const { in convertToErrorCode()1008 bool PythonException::Matches(PyObject *exc) const { in Matches()1025 std::string PythonException::ReadBacktrace() const { in ReadBacktrace()[all …]
72 class PythonException; variable176 return llvm::make_error<PythonException>(s);659 class PythonException : public llvm::ErrorInfo<PythonException> {667 PythonException(const char *caller = nullptr);669 ~PythonException() override;701 expected.takeError(), [](PythonException &E) { E.Restore(); },
1021 [&](PythonException &E) { in ExecuteOneLineWithReturn()1144 llvm::handleErrors(return_value.takeError(), [&](PythonException &E) { in ExecuteMultipleLines()1951 [&](PythonException &E) { in BreakpointCallbackFunction()
129 [&](PythonException &E) { error_string.append(E.ReadBacktrace()); }, in CreatePluginObject()