⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 228539 in webkit


Ignore:
Timestamp:
Feb 15, 2018, 4:07:23 PM (9 years ago)
Author:
ap@apple.com
Message:

Speed up dSYM generation on build.webkit.org with -gline-tables-only
​https://bugs.webkit.org/show_bug.cgi?id=182841
rdar://problem/34579649

Reviewed by Aakash Jain.

Build speed and binary size improvements are so substantial that I'm willing to make
CI builds less suitable for debugging, which is not a common scenario anyway.
Crash logs will still have line numbers in them.

  • BuildSlaveSupport/build.webkit.org-config/steps.py: (CompileWebKit.start):
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/steps.py

    r228219 r228539  
    207207            if platform == 'ios':
    208208                self.setCommand(self.command + ['ONLY_ACTIVE_ARCH=NO'])
    209         # Generating dSYM files is slow, but these are needed to have line numbers in crash reports on testers.
    210         # Debug builds on Yosemite can't use dSYMs, because crash logs end up unsymbolicated.
    211         if platform in ('mac', 'ios') and buildOnly and (self.getProperty('fullPlatform') != "mac-yosemite" or self.getProperty('configuration') != "debug"):
     209        if platform in ('mac', 'ios') and buildOnly:
     210            # For build-only bots, the expectation is that tests will be run on separate machines,
     211            # so we need to package debug info as dSYMs. Only generating line tables makes
     212            # this much faster than full debug info, and crash logs still have line numbers.
    212213            self.setCommand(self.command + ['DEBUG_INFORMATION_FORMAT=dwarf-with-dsym'])
     214            self.setCommand(self.command + ['CLANG_DEBUG_INFORMATION_LEVEL=line-tables-only'])
    213215
    214216        appendCustomBuildFlags(self, platform, self.getProperty('fullPlatform'))
  • trunk/Tools/ChangeLog

    r228521 r228539  
     12018-02-15  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Speed up dSYM generation on build.webkit.org with -gline-tables-only
     4        https://bugs.webkit.org/show_bug.cgi?id=182841
     5        rdar://problem/34579649
     6
     7        Reviewed by Aakash Jain.
     8
     9        Build speed and binary size improvements are so substantial that I'm willing to make
     10        CI builds less suitable for debugging, which is not a common scenario anyway.
     11        Crash logs will still have line numbers in them.
     12
     13        * BuildSlaveSupport/build.webkit.org-config/steps.py: (CompileWebKit.start):
     14
    1152018-02-15  Don Olmstead  <don.olmstead@sony.com>
    216
Note: See TracChangeset for help on using the changeset viewer.