aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2019-03-15 20:28:18 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-03-17 15:42:06 +0000
commit1126134d15a293e0f7fceed881282b78ac8a37ef (patch)
treeba99efc8010c395747533d00c5df5a2b6e5bf5cb
parent2e167256deb71f3b793978b6a0004aad7e23400f (diff)
downloadklee-1126134d15a293e0f7fceed881282b78ac8a37ef.tar.gz
Renamed --use-cache to --use-branch-cache
-rw-r--r--include/klee/SolverCmdLine.h2
-rw-r--r--lib/Basic/CmdLineOptions.cpp8
-rw-r--r--lib/Basic/ConstructSolverChain.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/include/klee/SolverCmdLine.h b/include/klee/SolverCmdLine.h
index 255b3848..8a0cc534 100644
--- a/include/klee/SolverCmdLine.h
+++ b/include/klee/SolverCmdLine.h
@@ -26,7 +26,7 @@ extern llvm::cl::opt<bool> UseFastCexSolver;
extern llvm::cl::opt<bool> UseCexCache;
-extern llvm::cl::opt<bool> UseCache;
+extern llvm::cl::opt<bool> UseBranchCache;
extern llvm::cl::opt<bool> UseIndependentSolver;
diff --git a/lib/Basic/CmdLineOptions.cpp b/lib/Basic/CmdLineOptions.cpp
index 80dc3c9d..2a58141e 100644
--- a/lib/Basic/CmdLineOptions.cpp
+++ b/lib/Basic/CmdLineOptions.cpp
@@ -43,12 +43,12 @@ cl::opt<bool> UseFastCexSolver(
cl::cat(SolvingCat));
cl::opt<bool> UseCexCache("use-cex-cache", cl::init(true),
- cl::desc("Use counterexample caching (default=true)"),
+ cl::desc("Use the counterexample cache (default=true)"),
cl::cat(SolvingCat));
-cl::opt<bool> UseCache("use-cache", cl::init(true),
- cl::desc("Use validity caching (default=true)"),
- cl::cat(SolvingCat));
+cl::opt<bool> UseBranchCache("use-branch-cache", cl::init(true),
+ cl::desc("Use the branch cache (default=true)"),
+ cl::cat(SolvingCat));
cl::opt<bool>
UseIndependentSolver("use-independent-solver", cl::init(true),
diff --git a/lib/Basic/ConstructSolverChain.cpp b/lib/Basic/ConstructSolverChain.cpp
index 5a51b8c5..39e0e824 100644
--- a/lib/Basic/ConstructSolverChain.cpp
+++ b/lib/Basic/ConstructSolverChain.cpp
@@ -47,7 +47,7 @@ Solver *constructSolverChain(Solver *coreSolver,
if (UseCexCache)
solver = createCexCachingSolver(solver);
- if (UseCache)
+ if (UseBranchCache)
solver = createCachingSolver(solver);
if (UseIndependentSolver)