summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-07-08 18:16:16 +0000
committerSean Callanan <scallanan@apple.com>2010-07-08 18:16:16 +0000
commit246549c50b6e2db6da277c607c3bfcb862a134ef (patch)
treec44af39bdd6cbc6db3dfbf7db6d6ca88eaa8d88e /lldb/source/Symbol
parent30ae68bd1770dcded31a63ba888e2130f8e97ca5 (diff)
downloadbcm5719-llvm-246549c50b6e2db6da277c607c3bfcb862a134ef.tar.gz
bcm5719-llvm-246549c50b6e2db6da277c607c3bfcb862a134ef.zip
Moved NDEBUG from a global setting to a specific
hack. llvm-svn: 107894
Diffstat (limited to 'lldb/source/Symbol')
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 93e84e962c5..b9670d4e17c 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -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"
OpenPOWER on IntegriCloud