[libunwind] r316559 - Fix the context/cursor size for ARM with WMMX enabled

Martin Storsjo via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 01:07:19 PDT 2017


Author: mstorsjo
Date: Wed Oct 25 01:07:19 2017
New Revision: 316559

URL: http://llvm.org/viewvc/llvm-project?rev=316559&view=rev
Log:
Fix the context/cursor size for ARM with WMMX enabled

This was missed in SVN r274744 when the WMMX part was made optional;
when made optional, some struct fields were reordered, which caused
the total struct size to grow due to padding/alignment.

Modified:
    libunwind/trunk/include/__libunwind_config.h

Modified: libunwind/trunk/include/__libunwind_config.h
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/include/__libunwind_config.h?rev=316559&r1=316558&r2=316559&view=diff
==============================================================================
--- libunwind/trunk/include/__libunwind_config.h (original)
+++ libunwind/trunk/include/__libunwind_config.h Wed Oct 25 01:07:19 2017
@@ -39,8 +39,8 @@
 # elif defined(__arm__)
 #  define _LIBUNWIND_TARGET_ARM 1
 #  if defined(__ARM_WMMX)
-#    define _LIBUNWIND_CONTEXT_SIZE 60
-#    define _LIBUNWIND_CURSOR_SIZE 67
+#    define _LIBUNWIND_CONTEXT_SIZE 61
+#    define _LIBUNWIND_CURSOR_SIZE 68
 #  else
 #    define _LIBUNWIND_CONTEXT_SIZE 42
 #    define _LIBUNWIND_CURSOR_SIZE 49




More information about the cfe-commits mailing list