From 7e17fe3191fb40360c88d28f1491aae203f0aa03 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 21 May 2018 15:10:52 +0200 Subject: 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 --- lib/Core/StatsTracker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Core/StatsTracker.cpp') diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index d9ec35aa..f2a989e2 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -418,7 +418,7 @@ void StatsTracker::writeStatsHeader() { << "'ResolveTime'," << "'QueryCexCacheMisses'," << "'QueryCexCacheHits'," -#ifdef DEBUG +#ifdef KLEE_ARRAY_DEBUG << "'ArrayHashTime'," #endif << ")\n"; @@ -450,7 +450,7 @@ void StatsTracker::writeStatsLine() { << "," << stats::resolveTime / 1000000. << "," << stats::queryCexCacheMisses << "," << stats::queryCexCacheHits -#ifdef DEBUG +#ifdef KLEE_ARRAY_DEBUG << "," << stats::arrayHashTime / 1000000. #endif << ")\n"; -- cgit 1.4.1