aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2025-06-13 17:49:30 +0200
committerGitHub <noreply@github.com>2025-06-13 08:49:30 -0700
commitdc9e300f12f3b9c8160dbfb0bc32252ad99c3ba7 (patch)
tree572d6e6735fe5cc098b449b9674cfaf5a0439852 /clang/lib/CodeGen/CodeGenFunction.cpp
parentca5040990ed17fa444d30c22fffcfa7ddc72612f (diff)
downloadllvm-dc9e300f12f3b9c8160dbfb0bc32252ad99c3ba7.zip
llvm-dc9e300f12f3b9c8160dbfb0bc32252ad99c3ba7.tar.gz
llvm-dc9e300f12f3b9c8160dbfb0bc32252ad99c3ba7.tar.bz2
[llvm-cov] Add support for baseline coverage (#117910)
When no profile is provided, but the new --empty-profile option is specifed, the export/report/show commands now emit coverage data equivalent to that obtained from a profile with all zero counters ("baseline coverage"). This is useful for build systems (e.g. Bazel) that can track coverage information for each build target, even those that are never linked into tests and thus don't have runtime coverage data recorded. By merging in baseline coverage, lines in files that aren't linked into tests are correctly reported as uncovered.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions