Skip to content

Commit

Permalink
Renamed --use-construct-hash to --use-construct-hash-stp and moved it…
Browse files Browse the repository at this point in the history
… and use-construct-hash-z3 to the expression building/printing category
  • Loading branch information
ccadar authored and MartinNowack committed Mar 13, 2019
1 parent adead52 commit 6da5297
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions lib/Solver/STPBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ using namespace klee;

namespace {
llvm::cl::opt<bool>
UseConstructHash("use-construct-hash",
llvm::cl::desc("Use hash-consing during STP query construction."),
llvm::cl::init(true));
UseConstructHash("use-construct-hash-stp",
llvm::cl::desc("Use hash-consing during STP query construction (default=true)"),
llvm::cl::init(true),
llvm::cl::cat(klee::ExprCat));
}

///
Expand Down
5 changes: 3 additions & 2 deletions lib/Solver/Z3Builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ using namespace klee;
namespace {
llvm::cl::opt<bool> UseConstructHashZ3(
"use-construct-hash-z3",
llvm::cl::desc("Use hash-consing during Z3 query construction."),
llvm::cl::init(true));
llvm::cl::desc("Use hash-consing during Z3 query construction (default=true)"),
llvm::cl::init(true),
llvm::cl::cat(klee::ExprCat));

// FIXME: This should be std::atomic<bool>. Need C++11 for that.
bool Z3InterationLogOpen = false;
Expand Down

0 comments on commit 6da5297

Please sign in to comment.