2 //===----------------------------------------------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 // The Itanium ABI requires that _Unwind_Exception objects are "double-word
16 // EHABI : 8-byte aligned
17 // itanium: largest supported alignment for the system
18 #if defined(_LIBUNWIND_ARM_EHABI)
19 static_assert(alignof(_Unwind_Control_Block
) == 8,
20 "_Unwind_Control_Block must be double-word aligned");
22 struct MaxAligned
{} __attribute__((__aligned__
));
23 static_assert(alignof(_Unwind_Exception
) == alignof(MaxAligned
),
24 "_Unwind_Exception must be maximally aligned");