mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
10e82d5318
The size of dyld_all_image_infos didn't change, but the last 128 bit of `reserved` moved out of `reserved` and got names. On 64-bit, that's straightforward -- just move two uint64s out of the array into fields. On 32-bit, it's fairly awkward: It's 4 of the uintptr_t `reserved` array, which means `UIntPtr, reserved, [4]` would have to diverge between 32-bit and 64-bit, and also shared_cache_fs_obj_id would straddle the `end_v14` boundary. Since macOS 12.0 doesn't support 32-bit builds, just punt on this for 32-bit. (This might possibly mean that crashpad-on-apple-watch might not compile, but that's a build configuration that doesn't exist.) See comment 9 and 6 on the bug. Bug: crashpad:375, chromium:1265179 Change-Id: I221af20c59c30a8176d5685d3f5e84aaf3de9afe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3253742 Commit-Queue: Nico Weber <thakis@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Message-Id: Merged from chromium 83a01b8e2cd2d4d96b0e298d012bb3a2bd93c64f Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3293642 Commit-Queue: Robert Sesek <rsesek@chromium.org>