[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)
commit618a22144db5e45da8c95dc22064103e1b5e5b71
authorAlan Phipps <a-phipps@ti.com>
Mon, 18 Sep 2023 20:49:56 +0000 (18 15:49 -0500)
committerAlan Phipps <a-phipps@ti.com>
Wed, 20 Sep 2023 20:30:47 +0000 (20 15:30 -0500)
tree3d354382909b78f7293bbce1e6e00351b6ff59c6
parent33dfd90700a11fb39802d0b1ab500f3a8efd7e78
[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)

Part 2 of 3. This includes the Visualization and Evaluation components.

Differential Revision: https://reviews.llvm.org/D138847
33 files changed:
llvm/docs/CommandGuide/llvm-cov.rst
llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json
llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.cpp [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.o [new file with mode: 0755]
llvm/test/tools/llvm-cov/Inputs/mcdc-const-folding.proftext [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/mcdc-const.cpp [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/mcdc-const.o [new file with mode: 0755]
llvm/test/tools/llvm-cov/Inputs/mcdc-const.proftext [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/mcdc-general-none.proftext [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/mcdc-general.cpp [new file with mode: 0644]
llvm/test/tools/llvm-cov/Inputs/mcdc-general.o [new file with mode: 0755]
llvm/test/tools/llvm-cov/Inputs/mcdc-general.proftext [new file with mode: 0644]
llvm/test/tools/llvm-cov/mcdc-const.test [new file with mode: 0644]
llvm/test/tools/llvm-cov/mcdc-export-json.test [new file with mode: 0644]
llvm/test/tools/llvm-cov/mcdc-general-none.test [new file with mode: 0644]
llvm/test/tools/llvm-cov/mcdc-general.test [new file with mode: 0644]
llvm/tools/llvm-cov/CodeCoverage.cpp
llvm/tools/llvm-cov/CoverageExporterJson.cpp
llvm/tools/llvm-cov/CoverageReport.cpp
llvm/tools/llvm-cov/CoverageSummaryInfo.cpp
llvm/tools/llvm-cov/CoverageSummaryInfo.h
llvm/tools/llvm-cov/CoverageViewOptions.h
llvm/tools/llvm-cov/SourceCoverageView.cpp
llvm/tools/llvm-cov/SourceCoverageView.h
llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
llvm/tools/llvm-cov/SourceCoverageViewHTML.h
llvm/tools/llvm-cov/SourceCoverageViewText.cpp
llvm/tools/llvm-cov/SourceCoverageViewText.h
llvm/unittests/ProfileData/CoverageMappingTest.cpp