commit | 05eb2cacb0ea279e2d9839ec32d95f772e729447 | [log] [tgz] |
---|---|---|
author | Mark Mentovai <mark@chromium.org> | Tue Apr 21 11:59:44 2020 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 06:52:02 2021 -0800 |
tree | fcf31ea564ed7d44f25f72631bb4c1a7d5abab50 | |
parent | 4fc500aa1596a40bd080e1c5aaeea6c1da1b0e51 [diff] |
ios: Build util/mach/exc_server_variants.cc, support code, and tests This makes UniversalMachExcServer available on iOS. UniversalMachExcServer is the foundation for a Mach exc and mach_exc server. Some code in UniversalMachExcServer needs to be evaluated to ensure that portions that run in the same process that has sustained the exception are safe to do so at that time. For example, SimplifiedExcServer<ExcTraits>::Interface instantiates and appends to a std::vector<>, which is generally unsafe in this context. However, that code responds to exc requests. The mach_exc equivalent, SimplifiedMachExcServer<MachExcTraits>::Interface, does not use a vector at all. This also enables support code in the form of CompositeMachMessageServer and UniversalExceptionRaise, all of the tests for CompositeMachMessageServer, and most of the test for exc_server_variants.cc. The multiprocess-based exc_server_variants tests remain disabled on iOS. Bug: crashpad:31 Change-Id: I530ca3e6e10ff176c45c46941d4b8035c8cb97f1 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2159287 Reviewed-by: Justin Cohen <justincohen@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> GitOrigin-RevId: 64b8791f4523bbae346b35bd5bf34b80f4431e49
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.