[cfe-commits] r96515 - /cfe/trunk/tools/CIndex/CIndex.cpp
Ted Kremenek
kremenek at apple.com
Wed Feb 17 13:12:24 PST 2010
Author: kremenek
Date: Wed Feb 17 15:12:23 2010
New Revision: 96515
URL: http://llvm.org/viewvc/llvm-project?rev=96515&view=rev
Log:
Don't make the inclusion of crashtracer information depend on NDEBUG.
Modified:
cfe/trunk/tools/CIndex/CIndex.cpp
Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=96515&r1=96514&r2=96515&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Wed Feb 17 15:12:23 2010
@@ -41,12 +41,11 @@
//===----------------------------------------------------------------------===//
#ifdef __APPLE__
-#ifndef NDEBUG
#define USE_CRASHTRACER
#include "clang/Analysis/Support/SaveAndRestore.h"
// Integrate with crash reporter.
extern "C" const char *__crashreporter_info__;
-#define NUM_CRASH_STRINGS 16
+#define NUM_CRASH_STRINGS 32
static unsigned crashtracer_counter = 0;
static unsigned crashtracer_counter_id[NUM_CRASH_STRINGS] = { 0 };
static const char *crashtracer_strings[NUM_CRASH_STRINGS] = { 0 };
@@ -119,7 +118,6 @@
};
}
#endif
-#endif
/// \brief The result of comparing two source ranges.
enum RangeComparisonResult {
More information about the cfe-commits
mailing list