- The 'block_list' monitor command now accepts an optional argument
'limited <max_blocks>' to control the nr of block addresses
- printed.
+ printed. If a block has been found using an heuristic, then
+ 'block_list' will now show the heuristic after the block size.
- The C helper functions used to instrument loads on x86-linux and
arm-linux (both 32-bit only) have been replaced by handwritten
by a loss record number.
The <varname>block_list</varname> command shows the loss record information
followed by the addresses and sizes of the blocks which have been
- merged in the loss record.
+ merged in the loss record. If a block was found using an heuristic, the block size
+ is followed by the heuristic.
</para>
<para> If a directly lost block causes some other blocks to be indirectly
// We found an existing loss record matching this chunk.
// If this is the loss record we are looking for, output the pointer.
if (old_lr == lr_array[loss_record_nr]) {
- VG_(umsg)("%p[%lu]\n",
- (void *)ch->data, (SizeT)ch->szB);
+ if (ex->heuristic)
+ VG_(umsg)("%p[%lu] (found via heuristic %s)\n",
+ (void *)ch->data, (SizeT)ch->szB,
+ pp_heuristic (ex->heuristic));
+ else
+ VG_(umsg)("%p[%lu]\n",
+ (void *)ch->data, (SizeT)ch->szB);
remaining--;
if (ex->state != Reachable) {
// We can print the clique in all states, except Reachable.