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

coverage: Support match statements in branch coverage #130744

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    fb7e610 View commit details
    Browse the repository at this point in the history
  2. coverage: Represent branches as a list of arms

    Within the `InstrumentCoverage` pass, we now represent branches as a list of
    arms, instead of a true/false pair, until we prepare the final table of
    mappings to be attached to the MIR body.
    
    (We then flatten the list into two-way branches by treating each arm as a
    branch between its success block, and the total of all later arms.)
    
    Currently all of the branches produced by MIR building are still two-way, but
    this is a step towards allowing many-way branches.
    Zalathar authored and ranger-ross committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    f2d7e25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    413011d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    50b7157 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    791e544 View commit details
    Browse the repository at this point in the history
  6. tidy

    ranger-ross committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    5ab184a View commit details
    Browse the repository at this point in the history
  7. tidy

    ranger-ross committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    ff1825e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1a0a2c2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    578af76 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ad74b3a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d46e6c5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    78a7fe1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d6a25eb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c0dcdc9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5ccfda9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0fab23d View commit details
    Browse the repository at this point in the history