|
From: <sv...@va...> - 2016-07-21 12:47:59
|
Author: sewardj
Date: Thu Jul 21 13:47:51 2016
New Revision: 15912
Log:
Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935.
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.c
==============================================================================
--- trunk/coregrind/m_transtab.c (original)
+++ trunk/coregrind/m_transtab.c Thu Jul 21 13:47:51 2016
@@ -2451,8 +2451,9 @@
}
else if (sizeof(HWord) == 4) {
vg_assert(sizeof(TTEntryH) <= 20);
-# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux)
- /* On PPC32 and MIPS32 platforms alignof(ULong) == 8, so the
+# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux) \
+ || defined(VGP_arm_linux)
+ /* On PPC32, MIPS32, ARM32 platforms, alignof(ULong) == 8, so the
structure is larger than on other 32 bit targets. */
vg_assert(sizeof(TTEntryC) <= 96);
# else
|