mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
Moved NDEBUG from a global setting to a specific
hack. llvm-svn: 107894
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user