This is an archive of the discontinued LLVM Phabricator instance.

[Coverage] Fix PR39258: support coverage regions that start deeper than they end
ClosedPublic

Authored by orivej on Oct 13 2018, 6:50 AM.

Diff Detail

Repository
rC Clang

Event Timeline

orivej created this revision.Oct 13 2018, 6:50 AM
orivej updated this revision to Diff 169562.Oct 13 2018, 7:22 AM

This looks better to me. (There is no difference in check-clang test results.)

orivej updated this revision to Diff 169568.Oct 13 2018, 9:50 AM

Fix typo

vsk accepted this revision.Oct 14 2018, 6:16 PM

Thanks, LGTM.

test/CoverageMapping/macros.c
60

Please use CHECK-LABEL here.

This revision is now accepted and ready to land.Oct 14 2018, 6:16 PM

Thanks! Could you merge this (after a while to let others review)?

test/CoverageMapping/macros.c
60

CHECK-LABEL would accept unchecked output between the previous CHECK-NEXT and func6. It seems that the intention of this test is to check all lines of output, so I used CHECK-NEXT as in other tests in this file.

orivej updated this revision to Diff 172041.Oct 31 2018, 4:12 PM

Use relative line offset.

orivej updated this revision to Diff 172042.Oct 31 2018, 4:13 PM

Remove unrelated change.

vsk added a comment.Nov 18 2018, 9:06 PM

Friendly ping -- @orivej were you still looking for more feedback? If not, do you still need someone to land this patch on your behalf?

@vsk, I think this is ready, but I don't have the merge rights. Could you commit it and D53231 for me?

This revision was automatically updated to reflect the committed changes.