followup from
bug 421534 - dsymutil spits an error to stdout if a binary doesn't have symbols, redirect it to /dev/null. r=bsmedberg
--- 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,