bug 587073 followup, re-silence the output of dsymutil
authorTed Mielczarek <ted.mielczarek@gmail.com>
Thu, 21 Jun 2012 09:02:15 -0400
changeset 97261 32a058c88ce870f83fc11c5765d8f291c1db7c0e
parent 97258 9349fc3660718c5f3c09bc81994ec5e784a86e90
child 97262 4dd0152f1be783edfe50f2729b19a856fb548d04
push id22968
push useremorley@mozilla.com
push dateFri, 22 Jun 2012 10:29:13 +0000
treeherdermozilla-central@aaa6906f8e92 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs587073
milestone16.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 587073 followup, re-silence the output of dsymutil
toolkit/crashreporter/tools/symbolstore.py
--- a/toolkit/crashreporter/tools/symbolstore.py
+++ b/toolkit/crashreporter/tools/symbolstore.py
@@ -701,17 +701,18 @@ class Dumper_Mac(Dumper):
         """dump_syms on Mac needs to be run on a dSYM bundle produced
         by dsymutil(1), so run dsymutil here and pass the bundle name
         down to the superclass method instead."""
         dsymbundle = file + ".dSYM"
         if os.path.exists(dsymbundle):
             shutil.rmtree(dsymbundle)
         # dsymutil takes --arch=foo instead of -a foo like everything else
         subprocess.call(["dsymutil"] + [a.replace('-a ', '--arch=') for a in self.archs if a]
-                        + [file])
+                        + [file],
+                        stdout=open("/dev/null","w"))
         if not os.path.exists(dsymbundle):
             # dsymutil won't produce a .dSYM for files without symbols
             return False
         res = Dumper.ProcessFile(self, dsymbundle)
         # CopyDebug will already have been run from Dumper.ProcessFile
         shutil.rmtree(dsymbundle)
 
         # fallback for DWARF-less binaries