commit | 83afcd729d32d680670950284e9c792a60fc57dd | [log] [tgz] |
---|---|---|
author | Justin Cohen <justincohen@google.com> | Fri May 19 23:55:11 2023 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon May 22 10:31:00 2023 -0700 |
tree | a49660e99673a681430fd640a494d4d2d7c2a6d8 | |
parent | 99376426f6eef3526e8bce8fa46b43421b8155a8 [diff] |
ios: Add fallbacks to try_free_default and claimed_address in forbidden allocators. This test only change should improve flake on iOS XCUITests. try_free_default can receive a pointer which doesn't belong to the allocator and claimed_address may not be implemented in specified zone. Add fallbacks for both. This logic is identical to the Chromium equivalent shim in base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_mac_zoned_malloc.cc Bug:b/270620301 Change-Id: I1e076d947fc01dc8e09a6fab146438b4c3688e88 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4549684 Reviewed-by: Mark Mentovai <mark@chromium.org> GitOrigin-RevId: 1103dfc65def733ed50ed1a4471c263c3ab11b28
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.