You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coverage: Never emit improperly-ordered coverage regions
If we emit a coverage region that is improperly ordered (end < start),
`llvm-cov` will fail with `coveragemap_error::malformed`, which is inconvenient
for users and also very hard to debug.
Ideally we would fix the root causes of these situations, but they tend to
occur in very obscure edge-case scenarios (often involving nested macros), and
we don't always have a good MCVE to work from. So it makes sense to also have a
catch-all check that will prevent improperly-ordered regions from ever being
emitted.
0 commit comments