[llvm] [Instrumentation] Fix EdgeCounts vector size in SetBranchWeights (PR #99064)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 08:00:35 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg` running on `libc-x86_64-debian` while building `llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[       OK ] LlvmLibcQsortRTest.SafeTypeErasure (4 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[829/1003] Running unit test libc.test.src.stdlib.rand_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcRandTest.UnsetSeed
[       OK ] LlvmLibcRandTest.UnsetSeed (334 us)
[ RUN      ] LlvmLibcRandTest.SetSeed
[       OK ] LlvmLibcRandTest.SetSeed (4 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[830/1003] Running unit test libc.test.src.stdio.fscanf_test.__unit__
FAILED: projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/test/src/stdio/CMakeFiles/libc.test.src.stdio.fscanf_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/test/src/stdio && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/test/src/stdio/libc.test.src.stdio.fscanf_test.__unit__.__build__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFScanfTest.WriteToFile
Segmentation fault
[831/1003] Running unit test libc.test.src.stdio.vfscanf_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFScanfTest.WriteToFile
[       OK ] LlvmLibcFScanfTest.WriteToFile (239 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[832/1003] Running unit test libc.test.src.stdlib.ldiv_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcDivTest.SimpleTestldiv_t
[       OK ] LlvmLibcDivTest.SimpleTestldiv_t (5 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[833/1003] Running unit test libc.test.src.string.index_test.__unit__
[==========] Running 8 tests from 1 test suite.
[ RUN      ] LlvmLibcIndexTest.FindsFirstCharacter
[       OK ] LlvmLibcIndexTest.FindsFirstCharacter (4 us)
[ RUN      ] LlvmLibcIndexTest.FindsMiddleCharacter
[       OK ] LlvmLibcIndexTest.FindsMiddleCharacter (1 us)
[ RUN      ] LlvmLibcIndexTest.FindsLastCharacterThatIsNotNullTerminator
[       OK ] LlvmLibcIndexTest.FindsLastCharacterThatIsNotNullTerminator (2 us)
[ RUN      ] LlvmLibcIndexTest.FindsNullTerminator
[       OK ] LlvmLibcIndexTest.FindsNullTerminator (1 us)
[ RUN      ] LlvmLibcIndexTest.CharacterNotWithinStringShouldReturnNullptr
[       OK ] LlvmLibcIndexTest.CharacterNotWithinStringShouldReturnNullptr (2 us)
[ RUN      ] LlvmLibcIndexTest.TheSourceShouldNotChange
[       OK ] LlvmLibcIndexTest.TheSourceShouldNotChange (3 us)
[ RUN      ] LlvmLibcIndexTest.ShouldFindFirstOfDuplicates
[       OK ] LlvmLibcIndexTest.ShouldFindFirstOfDuplicates (2 us)
[ RUN      ] LlvmLibcIndexTest.EmptyStringShouldOnlyMatchNullTerminator
[       OK ] LlvmLibcIndexTest.EmptyStringShouldOnlyMatchNullTerminator (2 us)
Ran 8 tests.  PASS: 8  FAIL: 0
[834/1003] Running unit test libc.test.src.string.memccpy_test.__unit__
[==========] Running 6 tests from 1 test suite.
[ RUN      ] LlvmLibcMemccpyTest.UntouchedUnrelatedEnd
[       OK ] LlvmLibcMemccpyTest.UntouchedUnrelatedEnd (4 us)
[ RUN      ] LlvmLibcMemccpyTest.UntouchedStartsWithEnd

```

</details>

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


More information about the llvm-commits mailing list