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.
Details
Details
- Reviewers
gulfem - Commits
- rG072e07a9d592: [llvm-cov] Optionally fail on missing binary ID
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | ||
---|---|---|
435 | Just a cosmetic suggestion: I am not a big fan of reading a 4-level nested structure. |
Just a cosmetic suggestion: I am not a big fan of reading a 4-level nested structure.
I was thinking that you can just use if (PathOpt) instead and swap then and else parts. You can also get rid of continue.
This is just a nit-pick, and feel free to land it without that if you prefer.