From 9896c3e7168aea4890de026e6c9a050e55a05784 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Fri, 15 Mar 2019 12:45:25 +0000 Subject: Added help message for --use-constant-arrays, and placed option in the constraint solving category --- lib/Core/Memory.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp index 5c855fb8..9348105e 100644 --- a/lib/Core/Memory.cpp +++ b/lib/Core/Memory.cpp @@ -10,19 +10,18 @@ #include "Memory.h" #include "Context.h" +#include "MemoryManager.h" +#include "ObjectHolder.h" #include "klee/Expr.h" -#include "klee/Solver.h" -#include "klee/util/BitArray.h" #include "klee/Internal/Support/ErrorHandling.h" +#include "klee/OptionCategories.h" +#include "klee/Solver.h" #include "klee/util/ArrayCache.h" - -#include "ObjectHolder.h" -#include "MemoryManager.h" +#include "klee/util/BitArray.h" #include "llvm/IR/Function.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Value.h" - #include "llvm/Support/CommandLine.h" #include "llvm/Support/raw_ostream.h" @@ -35,7 +34,9 @@ using namespace klee; namespace { cl::opt UseConstantArrays("use-constant-arrays", - cl::init(true)); + cl::desc("Use constant arrays instead of updates when possible (default=true)\n"), + cl::init(true), + cl::cat(SolvingCat)); } /***/ -- cgit 1.4.1