mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 01:37:16 +00:00

This patch includes multiple changes cleaning up various aspects of the crash reporter client and exception handler: * Some Unix-specific code was moved out from the base crashreporter client code and into the appropriate platform implementation * Functions used to open files in the crashreporter client now accept C++ `std::ios` flags instead of unreadable booleans * Useless character conversion routines were removed from the minidump-analyzer * Crash annotations are not serialized into a huge string anymore every time they change. They are all written out individually during an exception. * `WriteEscapedMozCrashReason()` uses the exception-safe `my_strlen()` instead of plain `strlen()` * The Windows-specific DLL-blocklist shutdown was removed from the Linux & macOS Breakpad callbacks * The `CrashReporterHost`, `CrashReporterClient` and `CrashReporterMetadataShmem` classes now take `nsACString` references instead of `nsCString` ones since they never modify their contents Differential Revision: https://phabricator.services.mozilla.com/D33267 --HG-- extra : moz-landing-system : lando