analyzer: show program point in -Wanalyzer-too-complex
I found this useful when debugging. gcc/analyzer/ChangeLog: * engine.cc (exploded_graph::get_or_create_node): Show the program point when issuing -Wanalyzer-too-complex due to hitting the per-program-point limit.
This commit is contained in:
parent
e097c9ab83
commit
6dd96e24ea
1 changed files with 1 additions and 0 deletions
|
@ -1982,6 +1982,7 @@ exploded_graph::get_or_create_node (const program_point &point,
|
|||
> param_analyzer_max_enodes_per_program_point)
|
||||
{
|
||||
pretty_printer pp;
|
||||
point.print (&pp, format (false));
|
||||
print_enode_indices (&pp, per_point_data->m_enodes);
|
||||
if (logger)
|
||||
logger->log ("not creating enode; too many at program point: %s",
|
||||
|
|
Loading…
Add table
Reference in a new issue