mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 07:48:14 +08:00
498c36b82a
hw.cputype is just CPU_TYPE_ARM64, which isn’t terribly useful. hw.cpufamily is somewhat better as it uses <mach/machine.h> CPUFAMILY_* values, which distinguish between different CPU generations. CPUFAMILY_ARM_VORTEX_TEMPEST identifies A12, for example. (The fun cores are Vortex and the boring cores are Tempest.) Bug: crashpad:345 Change-Id: I88be4fa0b305b2fa15bd24358f63dc7d72192b27 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2289041 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>