rustc_middle::mir::graphviz

Function write_mir_fn_graphviz

source
pub fn write_mir_fn_graphviz<'tcx, W>(
    tcx: TyCtxt<'tcx>,
    body: &Body<'_>,
    subgraph: bool,
    w: &mut W,
) -> Result<()>
where W: Write,
Expand description

Write a graphviz DOT graph of the MIR.