about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-01 14:32:12 +0200
committerGitHub <noreply@github.com>2020-04-01 14:32:12 +0200
commit84a463388040a1bc86578c0e3df2bf65e91127d3 (patch)
treeba255a9eb7ea01342b7d1507ca02fbfc35bd9d88 /src/test/codegen/src-hash-algorithm
parent99009bf31992fb9257b84550dbf7cb509f987952 (diff)
parent4d1194c31a8548f554212abb8fa724319631e2fc (diff)
downloadrust-84a463388040a1bc86578c0e3df2bf65e91127d3.tar.gz
rust-84a463388040a1bc86578c0e3df2bf65e91127d3.zip
Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwco
Add `-Z dump-mir-dataflow` flag for dumping dataflow results visualization

Previously, to visualize the results of a MIR dataflow pass, one had to add a `#[rustc_mir(borrowck_graphviz_postflow)]` attribute to functions of interest. However, there is no way to specify this attribute on closures and generators, so it was impossible to view results for these MIR bodies.

This PR adds a flag, `-Z dump-mir-dataflow`, which will output the dataflow results for any functions specified in `-Z dump-mir` to the output directory specified by `-Z dump-mir-dir`. This behavior is modeled on the `-Z dump-mir-graphviz` flag.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions