summary refs log tree commit diff
path: root/compiler/rustc_passes/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-01-25 23:27:01 -0500
committerGitHub <noreply@github.com>2025-01-25 23:27:01 -0500
commit182ccfa11fe5d7a3a6e9cc0d2100159dcd9963d2 (patch)
tree5432db3060fd9d01a92c341d303aa6fd7a764ece /compiler/rustc_passes/src
parent6cf42047909061fea383098cb0d4400e3fc5a85d (diff)
parent09fb70afb9dc64278f13be78e2f740fdc3c4d80e (diff)
downloadrust-182ccfa11fe5d7a3a6e9cc0d2100159dcd9963d2.tar.gz
rust-182ccfa11fe5d7a3a6e9cc0d2100159dcd9963d2.zip
Rollup merge of #136031 - lqd:polonius-debugger-episode-1, r=compiler-errors
Expand polonius MIR dump

This PR starts expanding the polonius MIR:
- switches to an HTML file, to show graphs in the same document as the MIR dump, share them more easily since it's a single file that can be hosted as a gist, and also to allow for interactivity in the near future.
- adds the regular NLL MIR + polonius constraints
- embeds a mermaid version of the CFG, similar to the graphviz one, but that needs a smaller js than `dot`'s emscripten js from graphvizonline

[Here's an example](https://gistpreview.github.io/?0c18f2a59b5e24ac0f96447aa34ffe00) of how it looks.

---
In future PRs: mermaid graphs of the NLL region graph, of the NLL SCCs, of the polonius localized outlives constraints, and the interactive polonius MIR dump.

r? ```@matthewjasper```
Diffstat (limited to 'compiler/rustc_passes/src')
0 files changed, 0 insertions, 0 deletions