https://github.com/ornata approved this pull request. This only impacts MC/DC with continuous mode enabled, so I think it's fine to merge this. I think that we should try to make this more performant though. https://github.com/llvm/llvm-project/pull/96126