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

add graphvis DOT files to dump mir directory #45497

Merged
merged 2 commits into from
Oct 31, 2017

Conversation

mikhail-m1
Copy link
Contributor

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 24, 2017
@@ -1057,6 +1057,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
"dump MIR state at various points in translation"),
dump_mir_dir: Option<String> = (None, parse_opt_string, [UNTRACKED],
"the directory the MIR is dumped into"),
dump_mir_graphviz: bool = (false, parse_bool, [UNTRACKED],
"additionally to MIR create graphviz DOT files"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: when dumping MIR, also create graphviz-style .dot files

@nikomatsakis
Copy link
Contributor

Looks good! Left a small comment.

@kennytm
Copy link
Member

kennytm commented Oct 27, 2017

@nikomatsakis The current wording is

additionally to .mir files, create graphviz .dot files

is it good enough for an r=?

"in addition to" sounds better than "additionally to"
@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Oct 30, 2017

📌 Commit b2c2ba4 has been approved by nikomatsakis

@kennytm kennytm added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 30, 2017
@bors
Copy link
Contributor

bors commented Oct 30, 2017

⌛ Testing commit b2c2ba4 with merge aec2c9e...

bors added a commit that referenced this pull request Oct 30, 2017
@bors
Copy link
Contributor

bors commented Oct 30, 2017

💔 Test failed - status-travis

@kennytm
Copy link
Member

kennytm commented Oct 30, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Oct 30, 2017

⌛ Testing commit b2c2ba4 with merge 2d3b966...

bors added a commit that referenced this pull request Oct 30, 2017
@bors
Copy link
Contributor

bors commented Oct 31, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: nikomatsakis
Pushing 2d3b966 to master...

@bors bors merged commit b2c2ba4 into rust-lang:master Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants