Author: zturner Date: Tue Sep 6 17:02:06 2016 New Revision: 280758 URL: http://llvm.org/viewvc/llvm-project?rev=280758&view=rev Log: Put the LLVM_ALIGNAS directive in the right place.
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContext_x86.h Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContext_x86.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContext_x86.h?rev=280758&r1=280757&r2=280758&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/Utility/RegisterContext_x86.h (original) +++ lldb/trunk/source/Plugins/Process/Utility/RegisterContext_x86.h Tue Sep 6 17:02:06 2016 @@ -298,14 +298,14 @@ LLVM_PACKED_END // x86 extensions to FXSAVE (i.e. for AVX processors) LLVM_PACKED_START -struct XSAVE { +struct LLVM_ALIGNAS(64) XSAVE { FXSAVE i387; // floating point registers typical in i387_fxsave_struct XSAVE_HDR header; // The xsave_hdr_struct can be used to determine if the // following extensions are usable YMMHReg ymmh[16]; // High 16 bytes of each of 16 YMM registers (the low bytes // are in FXSAVE.xmm for compatibility with SSE) // Slot any extensions to the register file here -} LLVM_ALIGNAS(64); +}; LLVM_PACKED_END // Floating-point registers _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits