[llvm] [ThinLTO] Do not duplicate import a function that is actually defined in the current module (PR #110064)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 15:40:50 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/4584
<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 :: ThinLTO/X86/ditemplatevalueparameter-remap.ll' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
RUN: at line 36: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -module-summary -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -module-summary -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
RUN: at line 37: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -module-summary -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -module-summary -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
RUN: at line 38: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/ld.lld --plugin-opt=thinlto-index-only -shared /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/ld.lld --plugin-opt=thinlto-index-only -shared /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp2.bc
RUN: at line 39: clang -O3 -fthinlto-index=/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc.thinlto.bc -x ir /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc -S -emit-llvm -o - | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
+ clang -O3 -fthinlto-index=/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc.thinlto.bc -x ir /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.tmp1.bc -S -emit-llvm -o -
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/ThinLTO/X86/Output/ditemplatevalueparameter-remap.ll.script: line 4: clang: command not found
FileCheck error: '<stdin>' is empty.
FileCheck command line: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/110064
More information about the llvm-commits
mailing list