From 816e762fcc4f9c9296511065a979bf77a5ccf29a Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 6 Sep 2016 22:02:06 +0000 Subject: [PATCH] Put the LLVM_ALIGNAS directive in the right place. llvm-svn: 280758 --- lldb/source/Plugins/Process/Utility/RegisterContext_x86.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Plugins/Process/Utility/RegisterContext_x86.h b/lldb/source/Plugins/Process/Utility/RegisterContext_x86.h index 0f241d5..87212e1 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContext_x86.h +++ b/lldb/source/Plugins/Process/Utility/RegisterContext_x86.h @@ -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 -- 2.7.4