commit | 29dc778e03ddb43081f5ec4f6245497e9a490835 | [log] [tgz] |
---|---|---|
author | Mark Mentovai <mark@chromium.org> | Tue Sep 01 20:21:15 2020 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 07:14:58 2021 -0800 |
tree | 0194baf52c3c8bc4d10f7a030d2ac6a7da46c950 | |
parent | d3cd4c9b882be565c7a583c36d6a35ba5e556176 [diff] |
mac: Don’t build 32-bit ProcessReaderMac support where it’s unusable There is no possibility to run 32-bit processes on macOS 10.15 or later. There is never any possibility to run 32-bit processes on macOS on arm64. This transforms ProcessReaderMac::Is64Bit into a compile-time constant “yes” when building for a system that will never see a 32-bit process. This is a lightweight way to get much 32-bit support code removed from optimized compiled output, including all of process_types. In an optimized build of crashpad_handler for arm64, this is a 3% reduction from 569kB to 552kB (-17kB). Change-Id: Ib93eaa6d1bc7f19067889dd8ef261d1ef1966573 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2389010 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> GitOrigin-RevId: df12d57e97b42e25f7ebde2e4ff3429e9c34a3d8
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.