[llvm] [RISCV] Add call preserved regmask to tail calls. (PR #122181)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 18:08:02 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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 :: ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
RUN: at line 1: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/yaml2obj /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test -o /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.tmp
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/yaml2obj /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test -o /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.tmp
RUN: at line 2: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink -noexec -abs __ImageBase=0xfff00000  -slab-allocate 100Kb -slab-address 0xfff00000 -slab-page-size 4096  -check /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.tmp
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink -noexec -abs __ImageBase=0xfff00000 -slab-allocate 100Kb -slab-address 0xfff00000 -slab-page-size 4096 -check /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.tmp
llvm-jitlink error: Resource tracker 0x5c47b53dba30 became defunct
llvm-jitlink: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h:285: llvm::orc::SymbolStringPool::~SymbolStringPool(): Assertion `Pool.empty() && "Dangling references at pool destruction time"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink -noexec -abs __ImageBase=0xfff00000 -slab-allocate 100Kb -slab-address 0xfff00000 -slab-page-size 4096 -check /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.tmp
 #0 0x00005c47b1bd8e68 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0xeade68)
 #1 0x00005c47b1bd695d llvm::sys::RunSignalHandlers() (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0xeab95d)
 #2 0x00005c47b1bd9408 SignalHandler(int) Signals.cpp:0:0
 #3 0x00007a825c636510 (/lib/x86_64-linux-gnu/libc.so.6+0x3c510)
 #4 0x00007a825c6840fc (/lib/x86_64-linux-gnu/libc.so.6+0x8a0fc)
 #5 0x00007a825c636472 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3c472)
 #6 0x00007a825c6204b2 abort (/lib/x86_64-linux-gnu/libc.so.6+0x264b2)
 #7 0x00007a825c6203d5 (/lib/x86_64-linux-gnu/libc.so.6+0x263d5)
 #8 0x00007a825c62f3a2 (/lib/x86_64-linux-gnu/libc.so.6+0x353a2)
 #9 0x00005c47b1472fac (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0x747fac)
#10 0x00005c47b1abbe07 llvm::orc::ExecutorProcessControl::~ExecutorProcessControl() (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0xd90e07)
#11 0x00005c47b1abd54f llvm::orc::SelfExecutorProcessControl::~SelfExecutorProcessControl() (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0xd9254f)
#12 0x00005c47b19ef2e8 llvm::orc::ExecutionSession::~ExecutionSession() (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0xcc42e8)
#13 0x00005c47b144bedd llvm::Session::~Session() (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0x720edd)
#14 0x00005c47b1456664 main (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0x72b664)
#15 0x00007a825c6216ca (/lib/x86_64-linux-gnu/libc.so.6+0x276ca)
#16 0x00007a825c621785 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27785)
#17 0x00005c47b1444671 _start (/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink+0x719671)
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.script: line 2: 354723 Aborted                 /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/llvm-jitlink -noexec -abs __ImageBase=0xfff00000 -slab-allocate 100Kb -slab-address 0xfff00000 -slab-page-size 4096 -check /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/ExecutionEngine/JITLink/x86-64/COFF_addr32nb_reloc_neg_addend.test /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/test/ExecutionEngine/JITLink/x86-64/Output/COFF_addr32nb_reloc_neg_addend.test.tmp

--

********************


```

</details>

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


More information about the llvm-commits mailing list