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: Clean up creation of MC/DC condition bitmaps #124555

Merged
merged 3 commits into from
May 3, 2024

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    52d608b View commit details
    Browse the repository at this point in the history
  2. coverage: Set up MC/DC bitmaps without additional unsafe code

    Because this now always takes place at the start of the function, we can just
    use the normal `alloca` method and then initialize each bitmap immediately.
    
    This patch also moves bitmap setup out of the `mcdc_parameters` method, because
    there is no longer any particular reason for it to be there.
    Zalathar committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    0b3a479 View commit details
    Browse the repository at this point in the history
  3. coverage: Replace max_decision_depth with num_condition_bitmaps

    This clearly distinguishes individual decision-depth indices from the total
    number of condition bitmaps to allocate.
    Zalathar committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    de972b7 View commit details
    Browse the repository at this point in the history