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

graphviz drawing of constraints for region inference #19892

Merged
merged 4 commits into from
Dec 17, 2014

Commits on Dec 15, 2014

  1. Configuration menu
    Copy the full SHA
    c500b63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5e0624 View commit details
    Browse the repository at this point in the history
  3. Added -Z print-region-graph debugging option; produces graphviz

    visualization of region inference constraint graph.
    
    Optionally uses environment variables `RUST_REGION_GRAPH=<path_template>`
    and `RUST_REGION_GRAPH_NODE=<node-id>` to select which file to output
    to and which AST node to print.
    
    Note that in some cases of method AST's, the identification of AST
    node is based on the id for the *body* of the method; this is largely
    due to having the body node-id already available at the relevant point
    in the control-flow of rustc in its current incarnation. Ideally we
    would handle identifying AST's by name in addition to node-id,
    e.g. the same way that the pretty-printer supports path suffixes as
    well as node-ids for identifying subtrees to print.
    pnkfelix committed Dec 15, 2014
    Configuration menu
    Copy the full SHA
    d6d0bb2 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2014

  1. Configuration menu
    Copy the full SHA
    375b79a View commit details
    Browse the repository at this point in the history