mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-31 01:43:03 +08:00
dea8fa51d0
The integration into the Fuchsia tree is still being negotiated, but I've added crashsvc on that side https://fuchsia.googlesource.com/zircon/+/HEAD/system/core/crashsvc/crashsvc.cpp, which handles exceptions and spawns something to actually deal with the crashed process. This means that there's no resident thing, so it seems simplest to use handler/crash_report_exception_handler directly, rather than add another wrapper binary. At some point it may make sense to roll this functionality back into Crashpad upstream, we'll see how it evolves. Additionally, the "normal" crashpad_handler model may still be necessary if Chrome wants to use a copy locally (rather than the system handler). To accomplish this: - Split crashpad_handler and crashpad_database_util packages so crashpad_database_util can still be included into the system image for debugging. - Add handle-based version of HandleException() to CrashReportExceptionHandler (and also remove the "type" argument because I've come around to realizing there's no point to it, finally. :) Bug: crashpad:196 Change-Id: I38872183ee3691c0938c5b761e6b73c80019f355 Reviewed-on: https://chromium-review.googlesource.com/1057833 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org>