Fix the context/cursor size for ARM with WMMX enabled
authorMartin Storsjo <martin@martin.st>
Wed, 25 Oct 2017 08:07:19 +0000 (08:07 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 25 Oct 2017 08:07:19 +0000 (08:07 +0000)
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.

llvm-svn: 316559

libunwind/include/__libunwind_config.h

index 83f4f47..0be7bf1 100644 (file)
@@ -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