Headers: explicitly specify double-word alignment

GCC will interpret `__attribute__((__aligned__))` as 8-byte alignment on
ARM, but clang will not.  Explicitly specify the alignment.  This
mirrors the declaration in libunwind.

llvm-svn: 311576
This commit is contained in:
Saleem Abdulrasool 2017-08-23 16:57:55 +00:00
parent 38df0fa640
commit 65101adb16
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ struct _Unwind_Control_Block {
uint32_t reserved1;
} pr_cache;
long long int : 0; /* force alignment of next item to 8-byte boundary */
} __attribute__((__aligned__));
} __attribute__((__aligned__(8)));
#else
struct _Unwind_Exception {
_Unwind_Exception_Class exception_class;