From 79237753a1e9cbe653e5763ffd61f3cb5b8759c1 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Wed, 2 Jan 2013 15:49:34 +0000 Subject: Patch by Tomasz Kuchta adding more detailed information on query failures. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@171391 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Solver/CexCachingSolver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Solver/CexCachingSolver.cpp') diff --git a/lib/Solver/CexCachingSolver.cpp b/lib/Solver/CexCachingSolver.cpp index c84ae409..3d7a754c 100644 --- a/lib/Solver/CexCachingSolver.cpp +++ b/lib/Solver/CexCachingSolver.cpp @@ -82,7 +82,7 @@ public: const std::vector &objects, std::vector< std::vector > &values, bool &hasSolution); - bool hasTimeoutOccurred(); + SolverRunStatus getOperationStatusCode(); }; /// @@ -340,8 +340,8 @@ CexCachingSolver::computeInitialValues(const Query& query, return true; } -bool CexCachingSolver::hasTimeoutOccurred() { - return solver->impl->hasTimeoutOccurred(); +SolverImpl::SolverRunStatus CexCachingSolver::getOperationStatusCode() { + return solver->impl->getOperationStatusCode(); } /// -- cgit 1.4.1