Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inline mir in .dot file #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

None yet

1 participant