pub(super) fn write_graphviz_results<'tcx, A>(
tcx: TyCtxt<'tcx>,
body: &Body<'tcx>,
analysis: &mut A,
results: &Results<A::Domain>,
pass_name: Option<&'static str>,
) -> Result<()>Expand description
Writes a DOT file containing the results of a dataflow analysis if the user requested it via
rustc_mir attributes and -Z dump-mir-dataflow. The Result in and the Results out are
the same.