gohome1984 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

dump_syms fails to find dylib symbol file inside of a bundle #281

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a dylib file, "libmozjs.dylib". If I run dsymutil on it, just as
`dsymutil libmozjs.dylib`, I wind up with a bundle "libmozjs.dylib.dSYM",
which contains the DWARF info in
"libmozjs.dylib.dSYM/Contents/Resources/DWARF/libmozjs.dylib". The
dump_syms code currently strips all file extensions off of the bundle name,
and then looks for "libmozjs" inside the bundle and fails. I have a patch
to make dump_syms check the bundle each time through the loop as it strips
off a file extension, which makes this case work properly.

Original issue reported on code.google.com by ted.mielczarek on 1 Dec 2008 at 2:43

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r298.

Original comment by ted.mielczarek on 1 Dec 2008 at 5:05