I found this logging tweak very helpful when working on
PR analyzer/106284.
gcc/analyzer/ChangeLog:
* engine.cc (exploded_graph::process_node): Show any description
of the out-edge when logging it for consideration.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
{
found_a_superedge = true;
if (logger)
- logger->log ("considering SN: %i -> SN: %i",
- succ->m_src->m_index, succ->m_dest->m_index);
+ {
+ label_text succ_desc (succ->get_description (false));
+ logger->log ("considering SN: %i -> SN: %i (%s)",
+ succ->m_src->m_index, succ->m_dest->m_index,
+ succ_desc.get ());
+ }
program_point next_point
= program_point::before_supernode (succ->m_dest, succ,