[PATCH] D144308: [llvm-cov] Optionally fail on missing binary ID

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 16:32:49 PST 2023


mysterymath created this revision.
mysterymath added a reviewer: gulfem.
Herald added subscribers: Enna1, hiraditya.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144308

Files:
  compiler-rt/test/profile/Linux/binary-id-lookup.c
  llvm/docs/CommandGuide/llvm-cov.rst
  llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
  llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
  llvm/tools/llvm-cov/CodeCoverage.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144308.498524.patch
Type: text/x-patch
Size: 7807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230218/f6349a15/attachment.bin>


More information about the llvm-commits mailing list