[all-commits] [llvm/llvm-project] 072e07: [llvm-cov] Optionally fail on missing binary ID
Daniel Thornburgh via All-commits
all-commits at lists.llvm.org
Fri Mar 3 10:24:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 072e07a9d5928fd3b1c1dabeac82890713ce172b
https://github.com/llvm/llvm-project/commit/072e07a9d5928fd3b1c1dabeac82890713ce172b
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M compiler-rt/test/profile/Linux/binary-id-lookup.c
M llvm/docs/CommandGuide/llvm-cov.rst
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/tools/llvm-cov/CodeCoverage.cpp
Log Message:
-----------
[llvm-cov] Optionally fail on missing binary ID
This adds the --check-binary-id flag that makes sure that an object file
is available for every binary ID mentioned in the given profile. This
should help make the tool more robust in CI environments where it's
expected that coverage mappings should be available for every object
contributing to the profile.
Reviewed By: gulfem
Differential Revision: https://reviews.llvm.org/D144308
More information about the All-commits
mailing list