sas created this revision.
sas added reviewers: tfiala, clayborg.
sas added a subscriber: lldb-commits.

When we build Debug, we might be tracking down bugs in clang/llvm as
well, so building it Debug with assertions helps debug the debugger.

http://reviews.llvm.org/D22235

Files:
  lldb.xcodeproj/project.pbxproj
  scripts/Xcode/build-llvm.py

Index: scripts/Xcode/build-llvm.py
===================================================================
--- scripts/Xcode/build-llvm.py
+++ scripts/Xcode/build-llvm.py
@@ -106,17 +106,18 @@
 def CMAKE_FLAGS ():
     return {
         "Debug": [
-            "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
-            "-DLLVM_ENABLE_ASSERTIONS=ON",
-            ],
-        "DebugClang": [
             "-DCMAKE_BUILD_TYPE=Debug",
             "-DLLVM_ENABLE_ASSERTIONS=ON",
             ],
+        "DebugClang": [
+             "-DCMAKE_BUILD_TYPE=Debug",
+             "-DLLVM_ENABLE_ASSERTIONS=ON",
+             ],
         "Release": [
             "-DCMAKE_BUILD_TYPE=Release",
             "-DLLVM_ENABLE_ASSERTIONS=ON",
             ],
+        # osmeta Release+Distribution
         "BuildAndIntegration": [
             "-DCMAKE_BUILD_TYPE=Release",
             "-DLLVM_ENABLE_ASSERTIONS=OFF",
Index: lldb.xcodeproj/project.pbxproj
===================================================================
--- lldb.xcodeproj/project.pbxproj
+++ lldb.xcodeproj/project.pbxproj
@@ -7486,7 +7486,7 @@
                                LLVM_BUILD_DIR = 
"$(SRCROOT)/llvm-build/$(LLVM_CONFIGURATION)";
                                LLVM_BUILD_DIRTREE = "$(SRCROOT)/llvm-build";
                                LLVM_BUILD_DIR_ARCH = "$(CURRENT_ARCH)/";
-                               LLVM_CONFIGURATION = "Release+Asserts";
+                               LLVM_CONFIGURATION = "Debug+Asserts";
                                LLVM_SOURCE_DIR = "$(SRCROOT)/llvm";
                                MACOSX_DEPLOYMENT_TARGET = 10.9;
                                ONLY_ACTIVE_ARCH = YES;


Index: scripts/Xcode/build-llvm.py
===================================================================
--- scripts/Xcode/build-llvm.py
+++ scripts/Xcode/build-llvm.py
@@ -106,17 +106,18 @@
 def CMAKE_FLAGS ():
     return {
         "Debug": [
-            "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
-            "-DLLVM_ENABLE_ASSERTIONS=ON",
-            ],
-        "DebugClang": [
             "-DCMAKE_BUILD_TYPE=Debug",
             "-DLLVM_ENABLE_ASSERTIONS=ON",
             ],
+        "DebugClang": [
+             "-DCMAKE_BUILD_TYPE=Debug",
+             "-DLLVM_ENABLE_ASSERTIONS=ON",
+             ],
         "Release": [
             "-DCMAKE_BUILD_TYPE=Release",
             "-DLLVM_ENABLE_ASSERTIONS=ON",
             ],
+        # osmeta Release+Distribution
         "BuildAndIntegration": [
             "-DCMAKE_BUILD_TYPE=Release",
             "-DLLVM_ENABLE_ASSERTIONS=OFF",
Index: lldb.xcodeproj/project.pbxproj
===================================================================
--- lldb.xcodeproj/project.pbxproj
+++ lldb.xcodeproj/project.pbxproj
@@ -7486,7 +7486,7 @@
 				LLVM_BUILD_DIR = "$(SRCROOT)/llvm-build/$(LLVM_CONFIGURATION)";
 				LLVM_BUILD_DIRTREE = "$(SRCROOT)/llvm-build";
 				LLVM_BUILD_DIR_ARCH = "$(CURRENT_ARCH)/";
-				LLVM_CONFIGURATION = "Release+Asserts";
+				LLVM_CONFIGURATION = "Debug+Asserts";
 				LLVM_SOURCE_DIR = "$(SRCROOT)/llvm";
 				MACOSX_DEPLOYMENT_TARGET = 10.9;
 				ONLY_ACTIVE_ARCH = YES;
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to