[PATCH] D84467: Add support for Branch Coverage in LLVM Source-Based Code Coverage

Alan Phipps via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 11 07:56:31 PST 2020


alanphipps updated this revision to Diff 311228.
alanphipps added a comment.

Diff after rebase.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84467/new/

https://reviews.llvm.org/D84467

Files:
  clang/docs/SourceBasedCodeCoverage.rst
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/lib/CodeGen/CGStmt.cpp
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/CodeGen/CodeGenPGO.cpp
  clang/lib/CodeGen/CoverageMappingGen.cpp
  clang/lib/CodeGen/CoverageMappingGen.h
  clang/test/CoverageMapping/branch-constfolded.cpp
  clang/test/CoverageMapping/branch-logical-mixed.cpp
  clang/test/CoverageMapping/branch-macros.cpp
  clang/test/CoverageMapping/branch-mincounters.cpp
  clang/test/CoverageMapping/branch-templates.cpp
  clang/test/CoverageMapping/continue.c
  clang/test/CoverageMapping/coroutine.cpp
  clang/test/CoverageMapping/if.cpp
  clang/test/CoverageMapping/label.cpp
  clang/test/CoverageMapping/logical.cpp
  clang/test/CoverageMapping/loopmacro.c
  clang/test/CoverageMapping/loops.cpp
  clang/test/CoverageMapping/macro-expansion.c
  clang/test/CoverageMapping/macro-expressions.cpp
  clang/test/CoverageMapping/macros.c
  clang/test/CoverageMapping/macroscopes.cpp
  clang/test/CoverageMapping/moremacros.c
  clang/test/CoverageMapping/return.c
  clang/test/CoverageMapping/switch.cpp
  clang/test/CoverageMapping/switchmacro.c
  clang/test/CoverageMapping/test.c
  clang/test/CoverageMapping/unreachable-macro.c
  clang/test/CoverageMapping/while.c
  clang/test/Profile/Inputs/c-general.proftext
  clang/test/Profile/branch-logical-mixed.cpp
  clang/test/Profile/branch-profdup.cpp
  clang/test/Profile/c-general.c
  clang/test/Profile/cxx-lambda.cpp
  compiler-rt/include/profile/InstrProfData.inc
  llvm/docs/CommandGuide/llvm-cov.rst
  llvm/docs/CoverageMappingFormat.rst
  llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
  llvm/include/llvm/ProfileData/InstrProf.h
  llvm/include/llvm/ProfileData/InstrProfData.inc
  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/branch-c-general.o32l
  llvm/test/tools/llvm-cov/Inputs/branch-c-general.proftext
  llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed.o32l
  llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed.proftext
  llvm/test/tools/llvm-cov/Inputs/branch-macros.o32l
  llvm/test/tools/llvm-cov/Inputs/branch-macros.proftext
  llvm/test/tools/llvm-cov/Inputs/branch-showBranchPercentage.o32l
  llvm/test/tools/llvm-cov/Inputs/branch-showBranchPercentage.proftext
  llvm/test/tools/llvm-cov/Inputs/branch-templates.o32l
  llvm/test/tools/llvm-cov/Inputs/branch-templates.proftext
  llvm/test/tools/llvm-cov/Inputs/showExpansions.json
  llvm/test/tools/llvm-cov/branch-c-general.c
  llvm/test/tools/llvm-cov/branch-export-json.test
  llvm/test/tools/llvm-cov/branch-export-lcov.test
  llvm/test/tools/llvm-cov/branch-logical-mixed.cpp
  llvm/test/tools/llvm-cov/branch-macros.cpp
  llvm/test/tools/llvm-cov/branch-noShowBranch.test
  llvm/test/tools/llvm-cov/branch-showBranchPercentage.c
  llvm/test/tools/llvm-cov/branch-templates.cpp
  llvm/test/tools/llvm-cov/ignore-filename-regex.test
  llvm/tools/llvm-cov/CodeCoverage.cpp
  llvm/tools/llvm-cov/CoverageExporterJson.cpp
  llvm/tools/llvm-cov/CoverageExporterLcov.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84467.311228.patch
Type: text/x-patch
Size: 221762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201211/05af41bb/attachment-0001.bin>


More information about the cfe-commits mailing list