diff --git a/coregrind/m_transtab.c b/coregrind/m_transtab.c index 3710e1395..94599a7cb 100644 --- a/coregrind/m_transtab.c +++ b/coregrind/m_transtab.c @@ -331,6 +331,11 @@ static void initialiseSector ( Int sno ) for (i = 0; i < N_TTES_PER_SECTOR; i++) { if (sectors[sno].tt[i].status == InUse) { n_dump_osize += vge_osize(§ors[sno].tt[i].vge); + /* Tell the tool too. */ + if (VG_(needs).basic_block_discards) { + VG_TDICT_CALL( tool_discard_basic_block_info, + sectors[sno].tt[i].vge ); + } } } if (VG_(clo_verbosity) > 2)