diff options
author | David Malcolm <dmalcolm@redhat.com> | 2022-04-28 13:46:15 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2022-04-28 13:48:41 -0400 |
commit | d8586b00dd00a1783862da5f0c8811a740400074 (patch) | |
tree | cc23674ed7415bb569e850bc0005b398c65cf225 /gcc/analyzer/program-point.h | |
parent | 509fd16da8528444dccc98cef57a18a295c3f1b4 (diff) | |
download | gcc-d8586b00dd00a1783862da5f0c8811a740400074.zip gcc-d8586b00dd00a1783862da5f0c8811a740400074.tar.gz gcc-d8586b00dd00a1783862da5f0c8811a740400074.tar.bz2 |
analyzer: add .fpath.txt dumps to -fdump-analyzer-feasibility
I found this extension to -fdump-analyzer-feasibility very helpful when
debugging PR analyzer/105285.
gcc/analyzer/ChangeLog:
* diagnostic-manager.cc (epath_finder::process_worklist_item):
Call dump_feasible_path when a path that reaches the the target
enode is found.
(epath_finder::dump_feasible_path): New.
* engine.cc (feasibility_state::dump_to_pp): New.
* exploded-graph.h (feasibility_state::dump_to_pp): New decl.
* feasible-graph.cc (feasible_graph::dump_feasible_path): New.
* feasible-graph.h (feasible_graph::dump_feasible_path): New
decls.
* program-point.cc (function_point::print): Fix missing trailing
newlines.
* program-point.h (program_point::print_source_line): Remove
unimplemented decl.
gcc/ChangeLog:
* doc/invoke.texi (-fdump-analyzer-feasibility): Mention the
fpath.txt output.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/analyzer/program-point.h')
-rw-r--r-- | gcc/analyzer/program-point.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/analyzer/program-point.h b/gcc/analyzer/program-point.h index 4b1c733..6084c9e 100644 --- a/gcc/analyzer/program-point.h +++ b/gcc/analyzer/program-point.h @@ -179,7 +179,6 @@ public: } void print (pretty_printer *pp, const format &f) const; - void print_source_line (pretty_printer *pp) const; void dump () const; json::object *to_json () const; |