| Index: minidump/minidump_context.h
|
| diff --git a/minidump/minidump_context.h b/minidump/minidump_context.h
|
| index 9da4c44b534644653548d7f1686de1223d9cde7f..5a807519aa6f87611bb79af1aeec9c45f8924f2f 100644
|
| --- a/minidump/minidump_context.h
|
| +++ b/minidump/minidump_context.h
|
| @@ -18,6 +18,7 @@
|
| #include <stdint.h>
|
|
|
| #include "snapshot/cpu_context.h"
|
| +#include "util/misc/struct_pack.h"
|
| #include "util/numeric/int128.h"
|
|
|
| namespace crashpad {
|
| @@ -187,7 +188,7 @@ struct MinidumpContextX86 {
|
| CPUContextX86::Fxsave fxsave;
|
| };
|
|
|
| -//! \brief x86_64-specifc flags for MinidumpContextAMD64::context_flags.
|
| +//! \brief x86_64-specific flags for MinidumpContextAMD64::context_flags.
|
| enum MinidumpContextAMD64Flags : uint32_t {
|
| //! \brief Identifies the context structure as x86_64. This is the same as
|
| //! `CONTEXT_AMD64` on Windows for this architecture.
|
| @@ -253,7 +254,7 @@ enum MinidumpContextAMD64Flags : uint32_t {
|
| //! normally alias `dr6` and `dr7`, respectively. See Intel Software
|
| //! Developer’s Manual, Volume 3B: System Programming, Part 2 (253669-052),
|
| //! 17.2.2 “Debug Registers DR4 and DR5”.
|
| -struct __attribute__((aligned(16))) MinidumpContextAMD64 {
|
| +PACK_AND_ALIGN_16(struct MinidumpContextAMD64 {
|
| //! \brief Register parameter home address.
|
| //!
|
| //! On Windows, this field may contain the “home” address (on-stack, in the
|
| @@ -336,7 +337,7 @@ struct __attribute__((aligned(16))) MinidumpContextAMD64 {
|
| uint64_t last_exception_to_rip;
|
| uint64_t last_exception_from_rip;
|
| //! \}
|
| -};
|
| +});
|
|
|
| } // namespace crashpad
|
|
|
|
|