diff options
author | Dan Liew <delcypher@gmail.com> | 2015-12-23 11:31:57 +0000 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2015-12-23 11:31:57 +0000 |
commit | 55944ebb2f05e4954a40dcf95af362e7a550a2f4 (patch) | |
tree | 902faade063168054f2a6e5ff5ef998455946ec9 /lib | |
parent | d348aee430c8308a29d5edadd4c38e7fee1abadc (diff) | |
parent | 0dbb147725e61ccb491039100d170357567c2b46 (diff) | |
download | klee-55944ebb2f05e4954a40dcf95af362e7a550a2f4.tar.gz |
Merge pull request #319 from delcypher/fix_inc_array_hash_expr
Fix duplication of klee::ArrayHashFn
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Core/Executor.cpp | 2 | ||||
-rw-r--r-- | lib/Core/StatsTracker.cpp | 2 | ||||
-rw-r--r-- | lib/Solver/CachingSolver.cpp | 2 | ||||
-rw-r--r-- | lib/Solver/CexCachingSolver.cpp | 2 | ||||
-rw-r--r-- | lib/Solver/STPBuilder.cpp | 2 | ||||
-rw-r--r-- | lib/Solver/Solver.cpp | 2 | ||||
-rw-r--r-- | lib/Solver/SolverStats.cpp | 2 | ||||
-rw-r--r-- | lib/Solver/SolverStats.h | 38 |
8 files changed, 7 insertions, 45 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 4a21be3e..9211f485 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -23,7 +23,6 @@ #include "UserSearcher.h" #include "ExecutorTimerInfo.h" -#include "../Solver/SolverStats.h" #include "klee/ExecutionState.h" #include "klee/Expr.h" @@ -47,6 +46,7 @@ #include "klee/Internal/Support/FloatEvaluation.h" #include "klee/Internal/System/Time.h" #include "klee/Internal/System/MemoryUsage.h" +#include "klee/SolverStats.h" #if LLVM_VERSION_CODE >= LLVM_VERSION(3, 3) #include "llvm/IR/Function.h" diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index 4633a5c5..2e107fb3 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -18,13 +18,13 @@ #include "klee/Internal/Support/ModuleUtil.h" #include "klee/Internal/System/Time.h" #include "klee/Internal/Support/ErrorHandling.h" +#include "klee/SolverStats.h" #include "CallPathManager.h" #include "CoreStats.h" #include "Executor.h" #include "MemoryManager.h" #include "UserSearcher.h" -#include "../Solver/SolverStats.h" #if LLVM_VERSION_CODE > LLVM_VERSION(3, 2) #include "llvm/IR/BasicBlock.h" diff --git a/lib/Solver/CachingSolver.cpp b/lib/Solver/CachingSolver.cpp index cfe08a96..1a6dce52 100644 --- a/lib/Solver/CachingSolver.cpp +++ b/lib/Solver/CachingSolver.cpp @@ -15,7 +15,7 @@ #include "klee/IncompleteSolver.h" #include "klee/SolverImpl.h" -#include "SolverStats.h" +#include "klee/SolverStats.h" #include <ciso646> #ifdef _LIBCPP_VERSION diff --git a/lib/Solver/CexCachingSolver.cpp b/lib/Solver/CexCachingSolver.cpp index fb07a6ec..8627b2ac 100644 --- a/lib/Solver/CexCachingSolver.cpp +++ b/lib/Solver/CexCachingSolver.cpp @@ -18,7 +18,7 @@ #include "klee/util/ExprVisitor.h" #include "klee/Internal/ADT/MapOfSets.h" -#include "SolverStats.h" +#include "klee/SolverStats.h" #include "klee/Internal/Support/ErrorHandling.h" diff --git a/lib/Solver/STPBuilder.cpp b/lib/Solver/STPBuilder.cpp index 4bd0145f..2f51c2b9 100644 --- a/lib/Solver/STPBuilder.cpp +++ b/lib/Solver/STPBuilder.cpp @@ -12,9 +12,9 @@ #include "klee/Expr.h" #include "klee/Solver.h" #include "klee/util/Bits.h" +#include "klee/SolverStats.h" #include "ConstantDivision.h" -#include "SolverStats.h" #include "llvm/Support/CommandLine.h" diff --git a/lib/Solver/Solver.cpp b/lib/Solver/Solver.cpp index 341ca17c..6f4bbc5b 100644 --- a/lib/Solver/Solver.cpp +++ b/lib/Solver/Solver.cpp @@ -10,7 +10,6 @@ #include "klee/Solver.h" #include "klee/SolverImpl.h" -#include "SolverStats.h" #include "STPBuilder.h" #include "MetaSMTBuilder.h" @@ -23,6 +22,7 @@ #include "klee/Internal/Support/Timer.h" #include "klee/Internal/Support/ErrorHandling.h" #include "klee/CommandLine.h" +#include "klee/SolverStats.h" #define vc_bvBoolExtract IAMTHESPAWNOFSATAN diff --git a/lib/Solver/SolverStats.cpp b/lib/Solver/SolverStats.cpp index 9d6963cf..4b9c69c8 100644 --- a/lib/Solver/SolverStats.cpp +++ b/lib/Solver/SolverStats.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#include "SolverStats.h" +#include "klee/SolverStats.h" using namespace klee; diff --git a/lib/Solver/SolverStats.h b/lib/Solver/SolverStats.h deleted file mode 100644 index a38c9826..00000000 --- a/lib/Solver/SolverStats.h +++ /dev/null @@ -1,38 +0,0 @@ -//===-- SolverStats.h -------------------------------------------*- C++ -*-===// -// -// The KLEE Symbolic Virtual Machine -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef KLEE_SOLVERSTATS_H -#define KLEE_SOLVERSTATS_H - -#include "klee/Statistic.h" - -namespace klee { -namespace stats { - - extern Statistic cexCacheTime; - extern Statistic queries; - extern Statistic queriesInvalid; - extern Statistic queriesValid; - extern Statistic queryCacheHits; - extern Statistic queryCacheMisses; - extern Statistic queryCexCacheHits; - extern Statistic queryCexCacheMisses; - extern Statistic queryConstructTime; - extern Statistic queryConstructs; - extern Statistic queryCounterexamples; - extern Statistic queryTime; - -#ifdef DEBUG - extern Statistic arrayHashTime; -#endif - -} -} - -#endif |