[llvm] [PseudoProbe] Include function hash in descriptor COMDAT key (PR #190296)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 19:13:10 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 172120 tests passed
* 3103 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### lld
<details>
<summary>lld.ELF/lto/pseudo-probe-lto.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt < /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll -passes=pseudo-probe -function-sections -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=pseudo-probe -function-sections -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o -shared --lto-emit-asm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.o -shared --lto-emit-asm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/ELF/lto/Output/pseudo-probe-lto.ll.tmp.lto.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll:22:10: error: CHECK: expected string not found in input
# | ; CHECK: .section .pseudo_probe_desc,"G", at progbits,.pseudo_probe_desc_foo,comdat
# |          ^
# | <stdin>:15:40: note: scanning from here
# |  .pseudoprobe 6699318081062747564 2 1 0 foo
# |                                        ^
# | <stdin>:34:2: note: possible intended match here
# |  .section .pseudo_probe_desc,"G", at progbits,.pseudo_probe_desc_foo.10000ffffffff,comdat
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/ELF/lto/pseudo-probe-lto.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            10:  pushq %rax 
# |            11:  .cfi_def_cfa_offset 16 
# |            12:  movq %rdi, %rax 
# |            13:  .pseudoprobe 6699318081062747564 1 0 0 foo 
# |            14:  movl $1, %edi 
# |            15:  .pseudoprobe 6699318081062747564 2 1 0 foo 
# | check:22'0                                            X~~~~ error: no match found
# |            16:  callq *%rax 
# | check:22'0     ~~~~~~~~~~~~~
# |            17:  incl .Lg$local(%rip) 
# | check:22'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            18:  popq %rax 
# | check:22'0     ~~~~~~~~~~~
# |            19:  .cfi_def_cfa_offset 8 
# | check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            20:  retq 
# | check:22'0     ~~~~~~
# |             .
# |             .
# |             .
# |            29: g: 
# | check:22'0     ~~~
# |            30: .Lg$local: 
# | check:22'0     ~~~~~~~~~~~
# |            31:  .long 3 # 0x3 
# | check:22'0     ~~~~~~~~~~~~~~~
# |            32:  .size g, 4 
# | check:22'0     ~~~~~~~~~~~~
# |            33:  
# | check:22'0     ~
# |            34:  .section .pseudo_probe_desc,"G", at progbits,.pseudo_probe_desc_foo.10000ffffffff,comdat 
# | check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:22'1      ?                                                                                      possible intended match
# |            35:  .quad 6699318081062747564 
# | check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            36:  .quad 281479271677951 
# | check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            37:  .byte 3 
# | check:22'0     ~~~~~~~~~
# |            38:  .ascii "foo" 
# | check:22'0     ~~~~~~~~~~~~~~
# |            39:  .section ".note.GNU-stack","", at progbits 
# | check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            40:  .addrsig 
# | check:22'0     ~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/190296


More information about the llvm-commits mailing list