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