[all-commits] [llvm/llvm-project] 685041: [Coverage] Ignore unused functions if the count is...

Zequan Wu via All-commits all-commits at lists.llvm.org
Mon Sep 9 11:14:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6850410562123b6e4fbb039e7ba4a2325b994b84
      https://github.com/llvm/llvm-project/commit/6850410562123b6e4fbb039e7ba4a2325b994b84
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    A compiler-rt/test/profile/instrprof-merging-2.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

  Log Message:
  -----------
  [Coverage] Ignore unused functions if the count is 0. (#107661)

Relax the condition to ignore the case when count is 0. 

This fixes a bug on
https://github.com/llvm/llvm-project/commit/381e9d2386facea7f2acc0f8c16a6d0731267f80.
This was reported at
https://discourse.llvm.org/t/coverage-from-multiple-test-executables/81024/.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list