[llvm] Bail out jump threading on indirect branches only (PR #117778)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 15:09:57 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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/OrcLazy/multiple-compile-threads-basic.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-rel-x86-64-b1/build/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
lli: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h:282: 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: /b/ml-opt-rel-x86-64-b1/build/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
 #0 0x00005650dbf05188 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x15d7188)
 #1 0x00005650dbf0256c SignalHandler(int) Signals.cpp:0:0
 #2 0x00007f5e183f2140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007f5e17ef3d51 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d51)
 #4 0x00007f5e17edd537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x00007f5e17edd40f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #6 0x00007f5e17eec6d2 (/lib/x86_64-linux-gnu/libc.so.6+0x316d2)
 #7 0x00005650dae3e9df (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x5109df)
 #8 0x00005650db9c55ca llvm::orc::ExecutorProcessControl::~ExecutorProcessControl() (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x10975ca)
 #9 0x00005650db9c57f3 llvm::orc::SelfExecutorProcessControl::~SelfExecutorProcessControl() crtstuff.c:0:0
#10 0x00005650db9142e6 llvm::orc::ExecutionSession::~ExecutionSession() (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0xfe62e6)
#11 0x00005650db955a0a llvm::orc::LLJIT::~LLJIT() (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x1027a0a)
#12 0x00005650db955ba1 llvm::orc::LLLazyJIT::~LLLazyJIT() crtstuff.c:0:0
#13 0x00005650dae48c2b runOrcJIT(char const*) (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x51ac2b)
#14 0x00005650dadb66e5 main (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x4886e5)
#15 0x00007f5e17eded7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#16 0x00005650dae344aa _start (/b/ml-opt-rel-x86-64-b1/build/bin/lli+0x5064aa)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll

--

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


```

</details>

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


More information about the llvm-commits mailing list