analyzer: log out-edge description in exploded_graph::process_node
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>
This commit is contained in:
@@ -3974,8 +3974,12 @@ exploded_graph::process_node (exploded_node *node)
|
||||
{
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user