]> granicus.if.org Git - clang/commitdiff
Don't make the inclusion of crashtracer information depend on NDEBUG.
authorTed Kremenek <kremenek@apple.com>
Wed, 17 Feb 2010 21:12:23 +0000 (21:12 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 17 Feb 2010 21:12:23 +0000 (21:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96515 91177308-0d34-0410-b5e6-96231b3b80d8

tools/CIndex/CIndex.cpp

index d24bcf64dffe71861aaad70d7a95520a26ad5513..5fc61685946cc0aa0745bacb1ec73ff6a37facf1 100644 (file)
@@ -41,12 +41,11 @@ using namespace idx;
 //===----------------------------------------------------------------------===//
 
 #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 @@ public:
 };
 }
 #endif
-#endif
 
 /// \brief The result of comparing two source ranges.
 enum RangeComparisonResult {