summary refs log tree commit diff
path: root/src/test/mir-opt/spanview_statement.main.mir_map.0.html
AgeCommit message (Collapse)AuthorLines
2020-09-06Improved the MIR spanview outputRich Kadel-4/+4
* Adds missing "tail" spans (spans that continue beyond the end of overlapping spans) * Adds a caret to highlight empty spans associated with MIR elements that have a position, but otherwise would not be visible. * Adds visual pointing brackets at the beginning and end of each span
2020-08-31Add new `-Z dump-mir-spanview` optionRich Kadel-0/+67
Similar to `-Z dump-mir-graphviz`, this adds the option to write HTML+CSS files that allow users to analyze the spans associated with MIR elements (by individual statement, just terminator, or overall basic block). This PR was split out from PR #76004, and exposes an API for spanview HTML+CSS files that is also used to analyze code regions chosen for coverage instrumentation (in a follow-on PR). Rust compiler MCP rust-lang/compiler-team#278 Relevant issue: #34701 - Implement support for LLVMs code coverage instrumentation