svn commit: r303061 - head/contrib/llvm/projects/libunwind/include

Ed Maste emaste at FreeBSD.org
Wed Jul 20 03:13:04 UTC 2016


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,


More information about the svn-src-all mailing list