[compiler-rt] [llvm] [Coverage] Ignore unused functions if the count is 0. (PR #107661)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 11:30:56 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `compiler-rt,llvm` at step 7 "test-build-unified-tree-check-llvm-unit".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/6294

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-unified-tree-check-llvm-unit) failure: test (failure)
******************** TEST 'LLVM-Unit :: ProfileData/./ProfileDataTests.exe/22/116' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\ProfileData\.\ProfileDataTests.exe-LLVM-Unit-12368-22-116.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=116 GTEST_SHARD_INDEX=22 C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\ProfileData\.\ProfileDataTests.exe
--

Script:
--
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\ProfileData\.\ProfileDataTests.exe --gtest_filter=ParameterizedCovMapTest/CoverageMappingTest.uncovered_function/1
--
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\ProfileData\CoverageMappingTest.cpp(746): error: Expected equality of these values:
  2U
    Which is: 2
  Segments.size()
    Which is: 0


C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\ProfileData\CoverageMappingTest.cpp:746
Expected equality of these values:
  2U
    Which is: 2
  Segments.size()
    Which is: 0



********************


```

</details>

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


More information about the llvm-commits mailing list