summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-06 22:02:06 +0000
committerZachary Turner <zturner@google.com>2016-09-06 22:02:06 +0000
commit816e762fcc4f9c9296511065a979bf77a5ccf29a (patch)
tree700421883bdef4c5fdc2fb0bc30d2c08d111331b /lldb
parent415a189c09210ee5bc5d2d40556e69b5230bfc6a (diff)
downloadbcm5719-llvm-816e762fcc4f9c9296511065a979bf77a5ccf29a.tar.gz
bcm5719-llvm-816e762fcc4f9c9296511065a979bf77a5ccf29a.zip
Put the LLVM_ALIGNAS directive in the right place.
llvm-svn: 280758
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContext_x86.h4
1 files 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 0f241d5e99b..87212e1c099 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
OpenPOWER on IntegriCloud