Skip to content

Conversation

lengyijun
Copy link
Contributor

Maybe this pr is too late
This pr inlined the mir into the dot file, given the .mir file

usage

rustc +nightly -Znll-facts -Zdump-mir="nll" main.rs
polonius -a naive --graphviz-file naive.dot --mir-file mir_dump/main.main.-------.nll.0.mir nll-facts/main/
dot -Tsvg naive.dot -o naive.svg
open naive.svg

usage
```
rustc +nightly -Znll-facts -Zdump-mir="nll" main.rs
polonius -a naive --graphviz-file naive.dot --mir-file mir_dump/main.main.-------.nll.0.mir nll-facts/main/
dot -Tsvg naive.dot -o naive.svg
open naive.svg
```
@lengyijun
Copy link
Contributor Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant