gecko-dev/toolkit/crashreporter
Mike Hommey 1ad733c5c4 Bug 1474871 - Link dump_syms against rustc-demangle. r=ted
The new version of breakpad imported in bug 1309172 doesn't demangle
rust symbols at all, contrary to before, where it tried to C++ demangle
them, which worked for many, although far from all. It however has
rust-demangle support as long as it's linked against a copy of the
rust-demangle-capi crate from https://github.com/luser/rust-demangle-capi/

This imports the code from the rust-demangle-capi crate but because of
some build system complications it's not taken as-is:
- it uses rusty-cheddar, which is deprecated, to generate a C header.
- rusty-cheddar depends on syntex_syntax, which now fails to build.
- rust-demangle-capi has crate-type staticlib, which can't be used
  as a dependency in a Cargo.toml. For that reason, we can't create
  a fake crate that depends on it to have it vendored.

Overall, it's only a few lines of rust, and the C header can be written
manually, so this is what we do here. The created crate is named in a way
specific to dump_syms.

The build system doesn't know how to figure out what system libraries
are required to link rust static libraries, although the rust compiler
has /some/ support to get the information, so we handle that manually.

--HG--
extra : rebase_source : 9f5a9bfe2148d3040e11c7121a88e85a7f2d5c53
2018-07-12 10:23:12 +09:00
..
breakpad-client Bug 1309172 - Updated breakpad to version 69c2c51dd89965d234eec16e3a9353634831916b; r=ted.mielczarek 2018-06-19 13:47:13 +02:00
breakpad-patches
breakpad-windows-libxul Bug 1472789 - make the windows crashreporter not dependent on libxul files; r=ted.mielczarek 2018-07-03 20:09:37 -04:00
breakpad-windows-standalone
client Bug 1472789 - make the windows crashreporter not dependent on libxul files; r=ted.mielczarek 2018-07-03 20:09:37 -04:00
content Backed out changeset 1034f8be097f (bug 948882) for ESlint failures on crashes.js. CLOSED TREE 2018-06-19 13:24:33 +03:00
docs Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika 2018-04-29 18:21:20 -07:00
google-breakpad Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
injector Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
minidump-analyzer Bug 1443471 - Take clang mingw into account in moz.build files r=glandium 2018-06-25 20:01:39 +02:00
rust Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
test Bug 1443471 - Take clang mingw into account in moz.build files r=glandium 2018-06-25 20:01:39 +02:00
tools Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt 2018-06-27 11:10:02 -04:00
crashreporter.mozbuild Bug 1394734 - Simplify various corner cases r=glandium 2017-12-07 22:10:19 +01:00
CrashReports.jsm Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
CrashSubmit.jsm Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8 2018-05-25 17:02:29 -07:00
InjectCrashReporter.cpp
InjectCrashReporter.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
jar.mn Backed out changeset 1034f8be097f (bug 948882) for ESlint failures on crashes.js. CLOSED TREE 2018-06-19 13:24:33 +03:00
KeyValueParser.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
LoadLibraryRemote.cpp
LoadLibraryRemote.h
mac_utils.h
mac_utils.mm Bug 1448772 - Avoid back-and-forth UTF-16 to UTF-8 to UTF-16 conversions in xpcom/base/MacHelpers.mm. r=mstange 2018-03-26 10:49:02 +03:00
moz.build Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
nsDummyExceptionHandler.cpp Bug 1407693 - Part 2 - when a child process crashes, write extra annotation data to a pre-opened file descriptor instead of creating a new file; r=gsvelto,rbarker 2017-11-27 14:37:34 -06:00
nsExceptionHandler.cpp Bug 1460022: Part 10 - Update crash reporter to work with revised DLL interceptor interface; r=dmajor 2018-06-27 11:51:40 -06:00
nsExceptionHandler.h Bug 1407693 - Part 2 - when a child process crashes, write extra annotation data to a pre-opened file descriptor instead of creating a new file; r=gsvelto,rbarker 2017-11-27 14:37:34 -06:00
nsExceptionHandlerUtils.cpp Bug 1438750 - Remove mfbt/double-conversion.h, and change existing users to instead do #include "double-conversion/double-conversion.h" themselves. r=froydnj on a CLOSED TREE 2018-02-21 10:15:43 +02:00
nsExceptionHandlerUtils.h Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek 2017-11-14 14:49:33 +01:00
ThreadAnnotation.cpp Bug 1457501 - Part 2 - Remove unused type DeleteWithLock r=gsvelto 2018-04-26 16:58:42 -07:00
ThreadAnnotation.h Backed out 2 changesets (bug 1457501) for build bustage. CLOSED TREE 2018-05-01 01:58:54 +03:00
update-breakpad.sh Bug 1309172 - Updated breakpad to version 69c2c51dd89965d234eec16e3a9353634831916b; r=ted.mielczarek 2018-06-19 13:47:13 +02:00
update-jsoncpp.sh