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/CachingSolver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Solver/CachingSolver.cpp') diff --git a/lib/Solver/CachingSolver.cpp b/lib/Solver/CachingSolver.cpp index f7b88855..b6a93c7b 100644 --- a/lib/Solver/CachingSolver.cpp +++ b/lib/Solver/CachingSolver.cpp @@ -82,7 +82,7 @@ public: return solver->impl->computeInitialValues(query, objects, values, hasSolution); } - bool hasTimeoutOccurred(); + SolverRunStatus getOperationStatusCode(); }; /** @returns the canonical version of the given query. The reference @@ -235,8 +235,8 @@ bool CachingSolver::computeTruth(const Query& query, return true; } -bool CachingSolver::hasTimeoutOccurred() { - return solver->impl->hasTimeoutOccurred(); +SolverImpl::SolverRunStatus CachingSolver::getOperationStatusCode() { + return solver->impl->getOperationStatusCode(); } /// -- cgit 1.4.1