Breakpad:Symbols: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


== Mozilla nightly/release builds ==
== Mozilla nightly/release builds ==
Mozilla nightly and release builds run two makefile targets after the build is complete to generate a symbol package and upload it: [http://hg.mozilla.org/mozilla-central/annotate/b4be8df347d5//Makefile.in#l173 buildsymbols] and [http://hg.mozilla.org/mozilla-central/annotate/b4be8df347d5//Makefile.in#l215 uploadsymbols].
The buildsymbols target runs the platform-specific dump_syms tool ([http://code.google.com/p/google-breakpad/source/browse/trunk/src/tools/linux/dump_syms/dump_syms.cc Linux], [http://code.google.com/p/google-breakpad/source/browse/trunk/src/tools/mac/dump_syms/dump_syms_tool.mm Mac], [http://code.google.com/p/google-breakpad/source/browse/trunk/src/tools/windows/dump_syms/dump_syms.cc Windows]) via the [http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/tools/symbolstore.py symbolstore.py] script in order to generate a symbol package with the correct directory structure. In addition to Breakpad-formatted symbols, symbolstore.py includes platform-native debug symbols (PDB files on Windows, .dSYM files on Mac, stripped debug sections on Linux) so that users can use the [https://developer.mozilla.org/en/Using_the_Mozilla_symbol_server symbol server] to debug nightly and release builds.
The uploadsymbols target calls the [http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/tools/upload_symbols.sh upload_symbols.sh] script, which scp's a symbol package in zip format to the symbol server, unpacks it, and runs a post-symbol-upload command.


== Windows system symbols ==
== Windows system symbols ==


== OS X system symbols ==
== OS X system symbols ==
Confirmed users
321

edits

Navigation menu