Skip to content

Commit 7a40394

Browse files
author
sewardj
committed
Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15912 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent 79976a0 commit 7a40394

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

coregrind/m_transtab.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,8 +2451,9 @@ void VG_(init_tt_tc) ( void )
24512451
}
24522452
else if (sizeof(HWord) == 4) {
24532453
vg_assert(sizeof(TTEntryH) <= 20);
2454-
# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux)
2455-
/* On PPC32 and MIPS32 platforms alignof(ULong) == 8, so the
2454+
# if defined(VGP_ppc32_linux) || defined(VGP_mips32_linux) \
2455+
|| defined(VGP_arm_linux)
2456+
/* On PPC32, MIPS32, ARM32 platforms, alignof(ULong) == 8, so the
24562457
structure is larger than on other 32 bit targets. */
24572458
vg_assert(sizeof(TTEntryC) <= 96);
24582459
# else

0 commit comments

Comments
 (0)