followup from bug 421534 - dsymutil spits an error to stdout if a binary doesn't have symbols, redirect it to /dev/null. r=bsmedberg
authorTed Mielczarek <ted.mielczarek@gmail.com>
Tue, 09 Dec 2008 16:19:48 -0500
changeset 22558 99dca569239976d10a7215cce6a57cd3aae9ea07
parent 22557 bad1a35faa154deabba94d58e3d8f89cce066f06
child 22559 242894260a861a115e9fd0257e6263b5fddf8add
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs421534
milestone1.9.2a1pre
followup from bug 421534 - dsymutil spits an error to stdout if a binary doesn't have symbols, redirect it to /dev/null. r=bsmedberg
toolkit/crashreporter/tools/symbolstore.py
--- a/toolkit/crashreporter/tools/symbolstore.py
+++ b/toolkit/crashreporter/tools/symbolstore.py
@@ -685,17 +685,17 @@ class Dumper_Mac(Dumper):
     def ProcessFile(self, file):
         """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
-        os.system("dsymutil %s %s" % (' '.join([a.replace('-a ', '--arch=') for a in self.archs]),
+        os.system("dsymutil %s %s >/dev/null" % (' '.join([a.replace('-a ', '--arch=') for a in self.archs]),
                                       file))
         return Dumper.ProcessFile(self, dsymbundle)
 
 # Entry point if called as a standalone program
 def main():
     parser = OptionParser(usage="usage: %prog [options] <dump_syms binary> <symbol store path> <debug info files>")
     parser.add_option("-c", "--copy",
                       action="store_true", dest="copy_debug", default=False,