[Lldb-commits] [lldb] r140611 - /lldb/trunk/lldb.xcodeproj/project.pbxproj

Greg Clayton gclayton at apple.com
Tue Sep 27 10:26:03 PDT 2011


Author: gclayton
Date: Tue Sep 27 12:26:03 2011
New Revision: 140611

URL: http://llvm.org/viewvc/llvm-project?rev=140611&view=rev
Log:
Enable the following CFLAGS in the Xcode project build:

    -flimit-debug-info -feliminate-unused-debug-types -Wparentheses

This helps to trim down the debug information size a bit by omitting types
that aren't used.


Modified:
    lldb/trunk/lldb.xcodeproj/project.pbxproj

Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lldb.xcodeproj/project.pbxproj?rev=140611&r1=140610&r2=140611&view=diff
==============================================================================
--- lldb/trunk/lldb.xcodeproj/project.pbxproj (original)
+++ lldb/trunk/lldb.xcodeproj/project.pbxproj Tue Sep 27 12:26:03 2011
@@ -3592,6 +3592,11 @@
 				LLVM_CONFIGURATION = Release;
 				LLVM_SOURCE_DIR = "$(SRCROOT)/llvm";
 				ONLY_ACTIVE_ARCH = YES;
+				OTHER_CFLAGS = (
+					"-flimit-debug-info",
+					"-feliminate-unused-debug-types",
+					"-Wparentheses",
+				);
 				VALID_ARCHS = "x86_64 i386";
 			};
 			name = Debug;
@@ -3622,6 +3627,11 @@
 				LLVM_BUILD_DIR_ARCH = "";
 				LLVM_CONFIGURATION = Release;
 				LLVM_SOURCE_DIR = "$(SRCROOT)/llvm";
+				OTHER_CFLAGS = (
+					"-flimit-debug-info",
+					"-feliminate-unused-debug-types",
+					"-Wparentheses",
+				);
 				VALID_ARCHS = "x86_64 i386";
 			};
 			name = Release;
@@ -3696,7 +3706,6 @@
 					"$(inherited)",
 					"$(LLVM_BUILD_DIR)",
 				);
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_CPLUSPLUSFLAGS = (
 					"-fno-rtti",
 					"-Wglobal-constructors",
@@ -3748,7 +3757,6 @@
 					"$(inherited)",
 					"$(LLVM_BUILD_DIR)",
 				);
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_CPLUSPLUSFLAGS = (
 					"-fno-rtti",
 					"-Wglobal-constructors",
@@ -3794,7 +3802,6 @@
 				);
 				MACH_O_TYPE = staticlib;
 				MACOSX_DEPLOYMENT_TARGET = 10.6;
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_CPLUSPLUSFLAGS = (
 					"-fno-rtti",
 					"-Wglobal-constructors",
@@ -3834,7 +3841,6 @@
 				);
 				MACH_O_TYPE = staticlib;
 				MACOSX_DEPLOYMENT_TARGET = 10.6;
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_CPLUSPLUSFLAGS = (
 					"-fno-rtti",
 					"-Wglobal-constructors",
@@ -3874,7 +3880,6 @@
 				);
 				MACH_O_TYPE = staticlib;
 				MACOSX_DEPLOYMENT_TARGET = 10.6;
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_CPLUSPLUSFLAGS = (
 					"-fno-rtti",
 					"-Wglobal-constructors",
@@ -3914,6 +3919,11 @@
 				LLVM_BUILD_DIR_ARCH = "$(CURRENT_ARCH)/";
 				LLVM_CONFIGURATION = Release;
 				LLVM_SOURCE_DIR = "$(SRCROOT)/llvm";
+				OTHER_CFLAGS = (
+					"-flimit-debug-info",
+					"-feliminate-unused-debug-types",
+					"-Wparentheses",
+				);
 				VALID_ARCHS = "x86_64 i386";
 			};
 			name = BuildAndIntegration;
@@ -3934,7 +3944,6 @@
 				INFOPLIST_FILE = "lldb-Info.plist";
 				INSTALL_PATH = /Developer/usr/bin;
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_LDFLAGS = (
 					"-sectcreate",
 					__TEXT,
@@ -3979,7 +3988,6 @@
 					"$(inherited)",
 					"$(LLVM_BUILD_DIR)",
 				);
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_CPLUSPLUSFLAGS = (
 					"-fno-rtti",
 					"-Wglobal-constructors",
@@ -4096,7 +4104,6 @@
 				INFOPLIST_FILE = "lldb-Info.plist";
 				INSTALL_PATH = /Developer/usr/bin;
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_LDFLAGS = (
 					"-sectcreate",
 					__TEXT,
@@ -4126,7 +4133,6 @@
 				INFOPLIST_FILE = "lldb-Info.plist";
 				INSTALL_PATH = /Developer/usr/bin;
 				LIBRARY_SEARCH_PATHS = "$(inherited)";
-				OTHER_CFLAGS = "-Wparentheses";
 				OTHER_LDFLAGS = (
 					"-sectcreate",
 					__TEXT,





More information about the lldb-commits mailing list