[llvm-branch-commits] [llvm] llvm-cov: Show `FileCoverageSummary` with `getCoverageForFile()` (PR #121192)

Jessica Paquette via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Jan 5 23:06:47 PST 2025


================
@@ -1432,6 +1434,8 @@ CoverageData CoverageMapping::getCoverageForFile(StringRef Filename) const {
       getImpreciseRecordIndicesForFilename(Filename);
   for (unsigned RecordIndex : RecordIndices) {
     const FunctionRecord &Function = Functions[RecordIndex];
+    if (FilteredOutFunctions.count(&Function))
----------------
ornata wrote:

>From the commit message, it is not obvious to me why we are now filtering out functions. Can you explain?

https://github.com/llvm/llvm-project/pull/121192


More information about the llvm-branch-commits mailing list