[all-commits] [llvm/llvm-project] a921d6: [llvm-cov] Allow branch coverage to be skipped whe...
Alan Phipps via All-commits
all-commits at lists.llvm.org
Fri Oct 14 14:25:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a921d6eb3b517ef6dcefd13cfbb9a017b00a06b1
https://github.com/llvm/llvm-project/commit/a921d6eb3b517ef6dcefd13cfbb9a017b00a06b1
Author: Alan Phipps <a-phipps at ti.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M llvm/test/tools/llvm-cov/branch-export-lcov.test
M llvm/tools/llvm-cov/CodeCoverage.cpp
M llvm/tools/llvm-cov/CoverageExporterLcov.cpp
M llvm/tools/llvm-cov/CoverageViewOptions.h
Log Message:
-----------
[llvm-cov] Allow branch coverage to be skipped when exporting for LCOV
This small patch adds a '--skip-branches' option to the llvm-cov export
options. This option allows branch coverage information to be skipped from the
exported LCOV directives if it's not needed. For now, this only works when
exporting LCOV (which is noted in the option description), but it can be
extended for JSON later if it makes sense.
Differential Revision: https://reviews.llvm.org/D135986
More information about the All-commits
mailing list