File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -429,6 +429,26 @@ void remove_function_pointerst::remove_function_pointer(
429
429
statistics ().source_location =target->source_location ;
430
430
statistics () << " replacing function pointer by "
431
431
<< functions.size () << " possible targets" << eom;
432
+
433
+ // list the names of functions when verbosity is at debug level
434
+ if (get_message_handler ().get_verbosity () >= M_DEBUG)
435
+ {
436
+ debug () << " targets: " ;
437
+
438
+ bool first = true ;
439
+ for (const auto &function : functions)
440
+ {
441
+ if (!first)
442
+ {
443
+ debug () << " , " ;
444
+ }
445
+
446
+ debug () << function.get_identifier ();
447
+ first = false ;
448
+ }
449
+
450
+ debug () << eom;
451
+ }
432
452
}
433
453
434
454
bool remove_function_pointerst::remove_function_pointers (
You can’t perform that action at this time.
0 commit comments