Export Segment.IsGapRegion to JSON
authorDennis Felsing <dennis.felsing@sap.com>
Fri, 27 Mar 2020 16:43:25 +0000 (17:43 +0100)
committerAaron Puchert <aaron.puchert@sap.com>
Fri, 27 Mar 2020 17:05:01 +0000 (18:05 +0100)
commitaa0be69e7408266f71574b2a3be87e92ff792233
tree73648456d25fd8c8ec0c598494b85229378615c6
parent9dcb20a7d008ca179c5906ef3b2ef73d69964a94
Export Segment.IsGapRegion to JSON

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

Reviewers: vsk

Reviewed By: vsk

Differential Revision: https://reviews.llvm.org/D76763
llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json
llvm/tools/llvm-cov/CoverageExporterJson.cpp