|author||Justin Cohen <firstname.lastname@example.org>||Tue Oct 19 13:53:37 2021 -0400|
|committer||Copybara-Service <email@example.com>||Tue Oct 19 11:24:36 2021 -0700|
ios: Don't use POSIX file locks for iOS intermediate dumps. Instead use a custom mechanism based on the filename. Rather than a filename of <uuid>, instead name the file <bundle-id>|<uuid>[.locked]. A locked file will have the optional .locked extension. Files can be unlocked after writing an intermediate dump, or during initialization by looking for matching bundle-ids. Clients that call ProcessIntermediateDumps() will clean up any leftover locked intermediate dumps. Clients that never call ProcessIntermediateDumps, such as extensions that leave this up to the main application, will be cleaned up in a followup change. Bug: crashpad:31 Change-Id: Ifbacf2905136669195ee631460ae004d44c959ca Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3229429 Commit-Queue: Justin Cohen <firstname.lastname@example.org> Reviewed-by: Mark Mentovai <email@example.com> Reviewed-by: Rohit Rao <firstname.lastname@example.org> GitOrigin-RevId: c367128a856a7eb161f0db6a5a1dc5c8d9d16cd3
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.