Bug 1410148 - Fully re-enable debug info on mac builds. r=gps
☠☠ backed out by fda16de8ddff ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 28 Dec 2017 18:01:50 +0900
changeset 397516 f77f58a060adccc5369a1617330520d67067eaae
parent 397515 593515920c7e5c82363cacbf99c7a279b2debd82
child 397517 fda16de8ddff41c4c62f3ea5d577761159dcd23d
push id57411
push usergszorc@mozilla.com
push dateFri, 29 Dec 2017 18:26:05 +0000
treeherderautoland@f77f58a060ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1410148
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1410148 - Fully re-enable debug info on mac builds. r=gps
build/moz.configure/toolchain.configure
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -1366,21 +1366,17 @@ def rust_compiler_flags(opt_level_option
         opt_level = '1' if optimize else '0'
 
     # opt-level=0 implies -C debug-assertions, which may not be desired
     # unless Rust debugging is enabled.
     if opt_level == '0' and not debug_rust:
         debug_assertions = False
 
     if debug_symbols:
-        if host.kernel == 'Linux' and target.kernel == 'Darwin':
-            # hack to work around dsymutil failing on cross-OSX builds (bug 1410148)
-            debug_info = '0'
-        else:
-            debug_info = '2'
+        debug_info = '2'
 
     opts = []
 
     if opt_level is not None:
         opts.append('opt-level=%s' % opt_level)
     if debug_assertions is not None:
         opts.append('debug-assertions=%s' %
                     ('yes' if debug_assertions else 'no'))