[Lldb-commits] [PATCH] D22235: Build clang Debug if we build lldb debug.
Stephane Sezer via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 11 12:02:26 PDT 2016
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22235.63549.patch
Type: text/x-patch
Size: 1457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160711/cf634daa/attachment.bin>
More information about the lldb-commits
mailing list