]> granicus.if.org Git - clang/commit
Headers: give _Unwind_Control_Block double-word alignment
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 23 Aug 2017 15:35:33 +0000 (15:35 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 23 Aug 2017 15:35:33 +0000 (15:35 +0000)
commit72db063424572350862d67af00282db08ecf681c
treef49cd5fe31c5f8ce67c263b1bf54f859bfb06bea
parent7ed95d923631f84fd6679c8b9e32d7d6aca24c8b
Headers: give _Unwind_Control_Block double-word alignment

The C++ ABI requires that the exception object (which under AEABI is the
`_Unwind_Control_Block`) is double-word aligned.  The attribute was
applied to the `_Unwind_Exception` type, but not the
`_Unwind_Control_Block`.  This should fix the libunwind test for the
alignment of the exception type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/unwind.h