You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -212,25 +211,30 @@ either "all" or the name of the MIR body you are interested in.
212
211
These `.dot` files will be saved in your `mir_dump` directory and will have the
213
212
[`NAME`] of the analysis (e.g. `maybe_inits`) as part of their filename. Each
214
213
visualization will display the full dataflow state at entry and exit of each
215
-
block, as well as any changes that occur in each statement and terminator. See
214
+
block, as well as any changes that occur in each statement and terminator. See
216
215
the example below:
217
216
218
217

219
218
220
219
### Region Constraint Graphs and Their Strongly Connected Components
221
220
221
+

222
+
222
223
With `-Z dump-mir-graphviz=yes`, you will also get Graphviz files for the outlives constraints
223
224
of the MIR bodies you asked for, as well as the strongly connected components (SCCs) on them.
224
-
They are available as
225
+
They are available as
225
226
`mir_dump/rs-file-name.function-name.-------.nll.0.regioncx.all.dot` and
226
227
`mir_dump/rs-file-name.function-name.-------.nll.0.regioncx.scc.dot` respectively. For both
227
228
graphs, named region variables will be shown with their external name (such as `'static`)
228
229
shown in parenthesis. For region inference variables in universes other than the root universe,
229
-
they will be shown as `/U13` (for universe 13). In the region graph, edges are labelled with
230
-
the MIR locations where the relationship holds.
230
+
they will be shown as `/U13` (for universe 13). In the region graph, edges are labelled with
231
+
the MIR locations where the relationship holds, or `All` if it's everywhere.
232
+
233
+

231
234
232
-
**Note:** there are implicit edges from `'static` to every region, but those are not rendered
233
-
in the region graph to avoid clutter. They *do* however show up in the SCC graph.
235
+
**Note:** There are implicit edges from `'static` to every region, but those are not rendered
236
+
in the region graph to avoid clutter. They _do_ however show up in the SCC graph. This is why there are outgoing edges from SCC(5) in the SCC graph above
237
+
that do not seem to have corresponding edges in the region outlives graph above.
0 commit comments