Skip to content

Add new -Z dump-mir-spanview option#76074

Merged
bors merged 1 commit intorust-lang:masterfrom
richkadel:llvm-coverage-map-gen-6b.5.1
Sep 2, 2020
Merged

Add new -Z dump-mir-spanview option#76074
bors merged 1 commit intorust-lang:masterfrom
richkadel:llvm-coverage-map-gen-6b.5.1

Conversation

@richkadel
Copy link
Copy Markdown

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

r? @tmandry
FYI @wesleywiser

Loading
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.

6 participants