This is an archive of the discontinued LLVM Phabricator instance.

Export Segment.IsGapRegion to JSON
ClosedPublic

Authored by def on Mar 25 2020, 4:06 AM.

Details

Summary

So that external tools can make use of that information and not display such lines as uncovered.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45300

Diff Detail

Event Timeline

def created this revision.Mar 25 2020, 4:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2020, 4:06 AM
def updated this revision to Diff 252543.Mar 25 2020, 4:51 AM

Fixed clang-format

vsk added a comment.Mar 25 2020, 10:09 AM

Thanks for doing this. Yes, I think a patch version bump would be appropriate. Also, please update test/tools/llvm-cov/Inputs/binary-formats.canonical.json to test this change.

def updated this revision to Diff 252766.Mar 26 2020, 1:25 AM
def edited the summary of this revision. (Show Details)

Increased the json export version to 2.0.1, fixed binary-formats.canonical.json

vsk accepted this revision.Mar 26 2020, 9:46 AM

Lgtm, thanks.

This revision is now accepted and ready to land.Mar 26 2020, 9:46 AM
This revision was automatically updated to reflect the committed changes.