| Index: snapshot/system_snapshot_mac.cc
|
| diff --git a/snapshot/system_snapshot_mac.cc b/snapshot/system_snapshot_mac.cc
|
| index 4c015cac3b4637aff7671a1b0931cb7c91a40233..37b3eca26cb3e8512696f56ad8dc6025ac15b6d3 100644
|
| --- a/snapshot/system_snapshot_mac.cc
|
| +++ b/snapshot/system_snapshot_mac.cc
|
| @@ -270,7 +270,11 @@ bool SystemSnapshotMac::CPUX86SupportsDAZ() const {
|
| }
|
|
|
| // Call fxsave.
|
| +#if defined(ARCH_CPU_X86)
|
| CPUContextX86::Fxsave fxsave __attribute__((aligned(16))) = {};
|
| +#elif defined(ARCH_CPU_X86_64)
|
| + CPUContextX86_64::Fxsave fxsave __attribute__((aligned(16))) = {};
|
| +#endif
|
| static_assert(sizeof(fxsave) == 512, "fxsave size");
|
| static_assert(offsetof(decltype(fxsave), mxcsr_mask) == 28,
|
| "mxcsr_mask offset");
|
|
|