about summary refs log tree commit diff homepage
path: root/lib/Solver
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2018-05-21 15:10:52 +0200
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-05-21 20:56:28 +0100
commit7e17fe3191fb40360c88d28f1491aae203f0aa03 (patch)
tree4257a157fabe0830005f05760341a79fd10882f2 /lib/Solver
parent5165772d3f03314fb61cc47256b67d923605c951 (diff)
downloadklee-7e17fe3191fb40360c88d28f1491aae203f0aa03.tar.gz
stop using DEBUG macro name
This is too generic and llvm 6.0 defines DEBUG as follows:
 #define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)

This then results in various build failures where once the macro is
defined, once it is not.

So rename this generic macro to KLEE_ARRAY_DEBUG.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'lib/Solver')
-rw-r--r--lib/Solver/SolverStats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Solver/SolverStats.cpp b/lib/Solver/SolverStats.cpp
index 4b9c69c8..efdfe6ed 100644
--- a/lib/Solver/SolverStats.cpp
+++ b/lib/Solver/SolverStats.cpp
@@ -24,6 +24,6 @@ Statistic stats::queryConstructs("QueriesConstructs", "QB");
 Statistic stats::queryCounterexamples("QueriesCEX", "Qcex");
 Statistic stats::queryTime("QueryTime", "Qtime");
 
-#ifdef DEBUG
+#ifdef KLEE_ARRAY_DEBUG
 Statistic stats::arrayHashTime("ArrayHashTime", "AHtime");
 #endif