Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 03:13:03 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303061 - head/contrib/llvm/projects/libunwind/include
Message-ID:  <201607200313.u6K3D3XE003473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Jul 20 03:13:02 2016
New Revision: 303061
URL: https://svnweb.freebsd.org/changeset/base/303061

Log:
  libunwind: Properly align _Unwind_Exception.
  
  _Unwind_Exception is required to be double word aligned.  GCC has
  interpreted this to mean "use the maximum useful alignment for the
  target" so follow that lead.
  
  Obtained from:	LLVM review D22543

Modified:
  head/contrib/llvm/projects/libunwind/include/unwind.h

Modified: head/contrib/llvm/projects/libunwind/include/unwind.h
==============================================================================
--- head/contrib/llvm/projects/libunwind/include/unwind.h	Wed Jul 20 02:21:54 2016	(r303060)
+++ head/contrib/llvm/projects/libunwind/include/unwind.h	Wed Jul 20 03:13:02 2016	(r303061)
@@ -128,7 +128,7 @@ struct _Unwind_Exception {
   // added for binary compatibility.
   uint32_t reserved[3];
 #endif
-};
+} __attribute__((__aligned__));
 
 typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn)
     (int version,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607200313.u6K3D3XE003473>