[llvm] [NFCI][Globals] In GlobalObjects::setSectionPrefix, do conditional update if existing prefix is not equivalent to the new one. Returns whether prefix changed. (PR #158460)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 05:44:37 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu-no-asserts` running on `doug-worker-6` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/X86/memcmp-pgso-x32.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/buildbot-root/gcc-no-asserts/build/bin/llc < /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll -mtriple=i686-unknown-unknown -mattr=cmov | /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll --check-prefixes=X86,X86-NOSSE
# executed command: /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/llc -mtriple=i686-unknown-unknown -mattr=cmov
# note: command had no output on stdout or stderr
# executed command: /home/buildbot/buildbot-root/gcc-no-asserts/build/bin/FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll --check-prefixes=X86,X86-NOSSE
# .---command stderr------------
# | /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll:83:13: error: X86-NEXT: expected string not found in input
# | ; X86-NEXT: jne .LBB4_3
# |             ^
# | <stdin>:75:15: note: scanning from here
# |  cmpw %si, %dx
# |               ^
# | <stdin>:76:2: note: possible intended match here
# |  jne .LBB4_1
# |  ^
# | /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll:173:13: error: X86-NEXT: expected string not found in input
# | ; X86-NEXT: jne .LBB9_3
# |             ^
# | <stdin>:167:17: note: scanning from here
# |  cmpl %esi, %edx
# |                 ^
# | <stdin>:168:2: note: possible intended match here
# |  jne .LBB9_1
# |  ^
# | /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll:219:13: error: X86-NEXT: expected string not found in input
# | ; X86-NEXT: jne .LBB11_2
# |             ^
# | <stdin>:214:17: note: scanning from here
# |  cmpl %edx, %ecx
# |                 ^
# | <stdin>:215:2: note: possible intended match here
# |  jne .LBB11_1
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/test/CodeGen/X86/memcmp-pgso-x32.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              1:  .file "<stdin>" 
# |              2:  .section .text.unlikely.,"ax", at progbits 
# |              3:  .globl length2 # -- Begin function length2 
# |              4:  .p2align 4 
...

```

</details>

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


More information about the llvm-commits mailing list