Bug 880500 - Handle files without symbols on the mac. r=singerb

This commit is contained in:
Todd Whiteman 2013-06-10 11:01:59 -04:00
parent ec82911dae
commit e2c686b2f8

View File

@ -830,7 +830,9 @@ class Dumper_Mac(Dumper):
stdout=open("/dev/null","w"))
if not os.path.exists(dsymbundle):
# dsymutil won't produce a .dSYM for files without symbols
self.output_pid(sys.stderr, "No symbols found in file: %s" % (file,))
result['status'] = False
result['files'] = (file, )
return result
result['status'] = True