From 4f1ad0a8426e0bba970bfaef1367e4e7a70ad0c1 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Tue, 22 Jan 2013 18:37:12 +0000 Subject: Patch by Hristina Palikareva which enables Kleaver to configure the solver chain. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@173180 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/kleaver/main.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/kleaver/main.cpp b/tools/kleaver/main.cpp index 00034eb1..00ffc92f 100644 --- a/tools/kleaver/main.cpp +++ b/tools/kleaver/main.cpp @@ -183,10 +183,13 @@ static bool EvaluateInputAST(const char *Filename, if (true == optionIsSet(queryLoggingOptions, SOLVER_PC)) S = createPCLoggingSolver(S, SOLVER_QUERIES_PC_FILE_NAME, MinQueryTimeToLog); if (UseFastCexSolver) - S = createFastCexSolver(S); - S = createCexCachingSolver(S); - S = createCachingSolver(S); - S = createIndependentSolver(S); + S = createFastCexSolver(S); + if (UseCexCache) + S = createCexCachingSolver(S); + if (UseCache) + S = createCachingSolver(S); + if (UseIndependentSolver) + S = createIndependentSolver(S); if (0) S = createValidatingSolver(S, STP); -- cgit 1.4.1