mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Notify the tool via tool_discard_basic_block_info() about translations
thrown away due to lack of space. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4908
This commit is contained in:
parent
fa32067e45
commit
fa41cb30d8
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user