Skip to content

Commit

Permalink
Fix incorrect assertion re sizeof TTEntryC on arm-linux. Fixes #362935.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15912 a5019735-40e9-0310-863c-91ae7b9d1cf9
  • Loading branch information
sewardj committed Jul 21, 2016
1 parent 679a75b commit 662ee1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions coregrind/m_transtab.c
Expand Up @@ -2451,8 +2451,9 @@ void VG_(init_tt_tc) ( void )
}
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
Expand Down

0 comments on commit 662ee1b

Please sign in to comment.