[Lldb-commits] [lldb] r107894 - in /lldb/trunk: lldb.xcodeproj/project.pbxproj source/Symbol/ClangASTContext.cpp
Sean Callanan
scallanan at apple.com
Thu Jul 8 11:16:16 PDT 2010
Author: spyffe
Date: Thu Jul 8 13:16:16 2010
New Revision: 107894
URL: http://llvm.org/viewvc/llvm-project?rev=107894&view=rev
Log:
Moved NDEBUG from a global setting to a specific
hack.
Modified:
lldb/trunk/lldb.xcodeproj/project.pbxproj
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lldb.xcodeproj/project.pbxproj?rev=107894&r1=107893&r2=107894&view=diff
==============================================================================
--- lldb/trunk/lldb.xcodeproj/project.pbxproj (original)
+++ lldb/trunk/lldb.xcodeproj/project.pbxproj Thu Jul 8 13:16:16 2010
@@ -2755,7 +2755,6 @@
LLVM_BUILD_DIR = "$(SRCROOT)/llvm";
LLVM_CONFIGURATION = Release;
OTHER_CFLAGS = (
- "-DNDEBUG",
"-DFOR_DYLD=0",
"-DSUPPORT_REMOTE_UNWINDING",
"-Wparentheses",
@@ -2809,7 +2808,6 @@
LLVM_BUILD_DIR = "$(SRCROOT)/llvm";
LLVM_CONFIGURATION = Release;
OTHER_CFLAGS = (
- "-DNDEBUG",
"-DFOR_DYLD=0",
"-DSUPPORT_REMOTE_UNWINDING",
"-Wparentheses",
@@ -2919,7 +2917,6 @@
LLVM_BUILD_DIR = "$(DERIVED_FILE_DIR)/llvm.build";
LLVM_CONFIGURATION = Release;
OTHER_CFLAGS = (
- "-DNDEBUG",
"-DFOR_DYLD=0",
"-DSUPPORT_REMOTE_UNWINDING",
"-Wparentheses",
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=107894&r1=107893&r2=107894&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Thu Jul 8 13:16:16 2010
@@ -14,6 +14,7 @@
#include <string>
// Other libraries and framework includes
+#define NDEBUG
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTImporter.h"
#include "clang/AST/CXXInheritance.h"
@@ -26,6 +27,7 @@
#include "clang/Basic/TargetOptions.h"
#include "clang/Frontend/FrontendOptions.h"
#include "clang/Frontend/LangStandard.h"
+#undef NDEBUG
#include "lldb/Core/dwarf.h"
More information about the lldb-commits
mailing list