mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
8c7caef421
Change the ObjExceptionProcessor to write intermediate dumps to a temporary location until they are confirmed by the UncaughtExceptionHandler. Because the exception preprocessor uses heuristics to detect iOS sinkholes, it's possible for an exception to be identified as fatal, but not actual trigger the uncaught exception handler. If the processor detects more than one fatal exception, it will unregister itself and indicate this in the second dump with the key 'MultipleHandledUncaughtNSException'. This changes also consolidates and simplifies some methods in the InProcessHandler. Change-Id: Ifc457e974d25f533b77cfd18b702129fdfb10a75 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3529968 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>