about summary refs log tree commit diff homepage
path: root/lib/Basic
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 /lib/Basic
parent2e167256deb71f3b793978b6a0004aad7e23400f (diff)
downloadklee-1126134d15a293e0f7fceed881282b78ac8a37ef.tar.gz
Renamed --use-cache to --use-branch-cache
Diffstat (limited to 'lib/Basic')
-rw-r--r--lib/Basic/CmdLineOptions.cpp8
-rw-r--r--lib/Basic/ConstructSolverChain.cpp2
2 files changed, 5 insertions, 5 deletions
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)