Bug 1672913 - Use the right arch for dsymutil -a for arm64 mac. r=firefox-build-system-reviewers,dmajor DONTBUILD
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 23 Oct 2020 11:57:36 +0000
changeset 554342 96edc7ca2ff13743f215926dbeebdcd86d06b29d
parent 554341 27dc52db9714a041618128ee767f1af57e398e44
child 554343 b43d1c8c7639169ef393aec68578a403c7865a08
push id37892
push usernbeleuzu@mozilla.com
push dateSun, 25 Oct 2020 21:41:16 +0000
treeherdermozilla-central@61c35792ca70 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfirefox-build-system-reviewers, dmajor
bugs1672913
milestone84.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 1672913 - Use the right arch for dsymutil -a for arm64 mac. r=firefox-build-system-reviewers,dmajor DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D94560
python/mozbuild/mozbuild/action/dumpsymbols.py
--- a/python/mozbuild/mozbuild/action/dumpsymbols.py
+++ b/python/mozbuild/mozbuild/action/dumpsymbols.py
@@ -48,16 +48,17 @@ def dump_symbols(target, tracking_file, 
     os_arch = buildconfig.substs['OS_ARCH']
     if os_arch == 'WINNT':
         sym_store_args.extend(['-c', '--vcs-info'])
         if 'PDBSTR' in buildconfig.substs:
             sym_store_args.append('-i')
     elif os_arch == 'Darwin':
         cpu = {
             'x86': 'i386',
+            'aarch64': 'arm64',
         }.get(buildconfig.substs['TARGET_CPU'], buildconfig.substs['TARGET_CPU'])
         sym_store_args.extend(['-c', '-a', cpu, '--vcs-info'])
     elif os_arch == 'Linux':
         sym_store_args.extend(['-c', '--vcs-info'])
 
     sym_store_args.append('--install-manifest=%s,%s' % (os.path.join(buildconfig.topobjdir,
                                                                      '_build_manifests',
                                                                      'install',