aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2021-01-14 15:39:14 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2021-01-14 15:39:14 -0500
commitdea4a32b24fb888532c47f3920f6910b3c94a8a0 (patch)
treea8a10ba4456583d6457f1bd4144d0bae0e824229 /gcc/go
parent8a18261afd923151b8d2a37f667e4673b27acd3f (diff)
downloadgcc-dea4a32b24fb888532c47f3920f6910b3c94a8a0.zip
gcc-dea4a32b24fb888532c47f3920f6910b3c94a8a0.tar.gz
gcc-dea4a32b24fb888532c47f3920f6910b3c94a8a0.tar.bz2
analyzer: fixes to -fdump-analyzer-json
I've been implementing a PyGTK viewer for the output of -fdump-analyzer-json, to help me debug analyzer issues: https://github.com/davidmalcolm/gcc-analyzer-viewer The viewer is very much just a work in progress. This patch adds some fields that were missing from the dump, and fixes some mistakes I spotted whilst working on the viewer. gcc/analyzer/ChangeLog: * engine.cc (strongly_connected_components::to_json): New. (worklist::to_json): New. (exploded_graph::to_json): JSON-ify the worklist. * exploded-graph.h (strongly_connected_components::to_json): New decl. (worklist::to_json): New decl. * store.cc (store::to_json): Fix comment. * supergraph.cc (supernode::to_json): Fix reference to "returning_call" in comment. Add optional "fun" to JSON. (edge_kind_to_string): New. (superedge::to_json): Add "kind" to JSON.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions