GCC Middle and Back End API Reference
diagnostic-state-graphs.h File Reference
Include dependency graph for diagnostic-state-graphs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  diagnostics::state_graphs::state_node_ref

Namespaces

namespace  dot
namespace  diagnostics
namespace  diagnostics::state_graphs

Macros

#define STATE_GRAPH_PREFIX   "gcc/diagnostic_state_graph/"
#define STATE_NODE_PREFIX   "gcc/diagnostic_state_node/"
#define STATE_EDGE_PREFIX   "gcc/diagnostic_state_edge/"

Enumerations

enum class  diagnostics::state_graphs::node_kind {
  diagnostics::state_graphs::globals , diagnostics::state_graphs::code , diagnostics::state_graphs::function , diagnostics::state_graphs::stack ,
  diagnostics::state_graphs::stack_frame , diagnostics::state_graphs::heap_ , diagnostics::state_graphs::thread_local_ , diagnostics::state_graphs::dynalloc_buffer ,
  diagnostics::state_graphs::variable , diagnostics::state_graphs::field , diagnostics::state_graphs::padding , diagnostics::state_graphs::element ,
  diagnostics::state_graphs::other
}
enum class  diagnostics::state_graphs::node_dynalloc_state { diagnostics::state_graphs::unknown , diagnostics::state_graphs::nonnull , diagnostics::state_graphs::unchecked , diagnostics::state_graphs::freed }

Functions

const char * diagnostics::state_graphs::node_kind_to_str (enum node_kind)
std::unique_ptr< dot::graphdiagnostics::state_graphs::make_dot_graph (const diagnostics::digraphs::digraph &state_graph, const logical_location_manager &logical_loc_mgr)

Macro Definition Documentation

◆ STATE_EDGE_PREFIX

#define STATE_EDGE_PREFIX   "gcc/diagnostic_state_edge/"

◆ STATE_GRAPH_PREFIX

#define STATE_GRAPH_PREFIX   "gcc/diagnostic_state_graph/"
Prefixes to use in SARIF property bags.

◆ STATE_NODE_PREFIX