[llvm] [StringMap] Invalidate iterators on mutation (PR #202237)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 7 23:51:37 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 175203 tests passed
* 3443 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-profdata/merge-filter.test</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext --text --function="_Z3.*" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext --text '--function=_Z3.*'
# .---command stderr------------
# | 1 of 3 functions in the original profile are filtered.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER1
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext --text --no-function="main" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext --text --no-function=main
# .---command stderr------------
# | 1 of 3 functions in the original profile are filtered.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER1
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext --text --function="_Z3.*" --no-function="fooi$" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER2
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext --text '--function=_Z3.*' '--no-function=fooi$'
# .---command stderr------------
# | 2 of 3 functions in the original profile are filtered.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER2
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample --extbinary --use-md5 -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profdata/Output/merge-filter.test.tmp.0.profdata /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample --extbinary --use-md5 -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profdata/Output/merge-filter.test.tmp.0.profdata /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext
# note: command had no output on stdout or stderr
# RUN: at line 18
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profdata/Output/merge-filter.test.tmp.0.profdata --text --function="_Z3fooi" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER-MD5
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --sample /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profdata/Output/merge-filter.test.tmp.0.profdata --text --function=_Z3fooi
# .---command stderr------------
# | 2 of 3 functions in the original profile are filtered.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER-MD5
# note: command had no output on stdout or stderr
# RUN: at line 24
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --instr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/basic.proftext --text --function="foo" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER3
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --instr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/basic.proftext --text --function=foo
# .---command stderr------------
# | llvm-profdata: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/StringMap.h:532: bool llvm::operator==(const StringMapIterBase<ValueTy, IsConst> &, const StringMapIterBase<ValueTy, IsConst> &): Assertion `(!LHS.getEpochAddress() || LHS.isHandleInSync()) && "handle not in sync!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata merge --instr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/Inputs/basic.proftext --text --function=foo
# | #0 0x00000000007d57c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13
# | #1 0x00000000007d28a1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000007d65d1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007f85e0bfb330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007f85e0c54b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007f85e0bfb27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007f85e0bde8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007f85e0bde81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007f85e0bf1517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x00000000004bbe21 mergeSampleProfile /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profdata/llvm-profdata.cpp:0:0
# | #10 0x00000000004bbe21 merge_main(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profdata/llvm-profdata.cpp:1816:5
# | #11 0x00000000004ace77 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profdata/llvm-profdata.cpp:0:12
# | #12 0x00007f85e0be01ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #13 0x00007f85e0be028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #14 0x00000000004a1ae5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profdata+0x4a1ae5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER3
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profdata/merge-filter.test --check-prefix=CHECK-FILTER3
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/202237
More information about the llvm-commits
mailing list