Title: [177254] trunk/Source/WebCore
Revision
177254
Author
mr...@apple.com
Date
2014-12-12 17:40:44 -0800 (Fri, 12 Dec 2014)

Log Message

[Mac] Work around a bug in dsymutil on older OS versions
<https://webkit.org/b/139609> / <rdar://problem/16045763>

Older versions of dsymutil are unable to write out more than 2GB of symbols per architecture.
WebCore has recently passed that threshold. To work around this we will reduce the level of
symbols included in the dSYM bundles on the affected OS versions.

Reviewed by Geoff Garen.

* Configurations/Base.xcconfig: Include line tables only in the debug symbols for production
builds on OS X 10.8 and 10.9.
* Configurations/DebugRelease.xcconfig: Include full symbols in debug and release builds since they
do not make use of dSYMs.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (177253 => 177254)


--- trunk/Source/WebCore/ChangeLog	2014-12-13 01:14:46 UTC (rev 177253)
+++ trunk/Source/WebCore/ChangeLog	2014-12-13 01:40:44 UTC (rev 177254)
@@ -1,3 +1,19 @@
+2014-12-12  Mark Rowe  <mr...@apple.com>
+
+        [Mac] Work around a bug in dsymutil on older OS versions
+        <https://webkit.org/b/139609> / <rdar://problem/16045763>
+
+        Older versions of dsymutil are unable to write out more than 2GB of symbols per architecture.
+        WebCore has recently passed that threshold. To work around this we will reduce the level of
+        symbols included in the dSYM bundles on the affected OS versions.
+
+        Reviewed by Geoff Garen.
+
+        * Configurations/Base.xcconfig: Include line tables only in the debug symbols for production
+        builds on OS X 10.8 and 10.9.
+        * Configurations/DebugRelease.xcconfig: Include full symbols in debug and release builds since they
+        do not make use of dSYMs.
+
 2014-12-12  Beth Dakin  <bda...@apple.com>
 
         Need a fake mouse move after hiding data detectors UI

Modified: trunk/Source/WebCore/Configurations/Base.xcconfig (177253 => 177254)


--- trunk/Source/WebCore/Configurations/Base.xcconfig	2014-12-13 01:14:46 UTC (rev 177253)
+++ trunk/Source/WebCore/Configurations/Base.xcconfig	2014-12-13 01:40:44 UTC (rev 177254)
@@ -116,6 +116,8 @@
 SQLITE3_HEADER_SEARCH_PATHS_macosx = $(SQLITE3_HEADER_SEARCH_PATHS_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
 
 GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+CLANG_DEBUG_INFORMATION_LEVEL[sdk=macosx10.8*] = line-tables-only;
+CLANG_DEBUG_INFORMATION_LEVEL[sdk=macosx10.9*] = line-tables-only;
 
 SDKROOT = macosx.internal;
 

Modified: trunk/Source/WebCore/Configurations/DebugRelease.xcconfig (177253 => 177254)


--- trunk/Source/WebCore/Configurations/DebugRelease.xcconfig	2014-12-13 01:14:46 UTC (rev 177253)
+++ trunk/Source/WebCore/Configurations/DebugRelease.xcconfig	2014-12-13 01:40:44 UTC (rev 177254)
@@ -38,6 +38,7 @@
 
 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES;
 DEBUG_INFORMATION_FORMAT = dwarf;
+CLANG_DEBUG_INFORMATION_LEVEL = default;
 
 WEBCORE_SQLITE3_HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/WebCoreSQLite3;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to