[llvm] [LLVM][TableGen] Parameterize NumToSkip in DecoderEmitter (PR #135882)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 13:17:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/22917
<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 :: TableGen/trydecode-emission.td' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/../../include /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/trydecode-emission.td | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/trydecode-emission.td # RUN: at line 1
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/trydecode-emission.td
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/../../include /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/trydecode-emission.td
llvm-tblgen: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/utils/TableGen/DecoderEmitter.cpp:150: void {anonymous}::DecoderTable::patchNumToSkip(size_t, uint32_t): Assertion `DestIdx > FixupIdx + NumToSkipSizeInBytes && "Expecting a forward jump in the decoding table"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen -gen-disassembler -I /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/../../include /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/trydecode-emission.td
#0 0x00005dd9c93234a0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x3734a0)
#1 0x00005dd9c9320a7f llvm::sys::RunSignalHandlers() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x370a7f)
#2 0x00005dd9c9320bca SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007528be722520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007528be7769fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#5 0x00007528be7769fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#6 0x00007528be7769fc pthread_kill ./nptl/pthread_kill.c:89:10
#7 0x00007528be722476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#8 0x00007528be7087f3 abort ./stdlib/abort.c:81:7
#9 0x00007528be70871b _nl_load_domain ./intl/loadmsgcat.c:1177:9
#10 0x00007528be719e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
#11 0x00005dd9c9197cde (anonymous namespace)::DecoderTable::patchNumToSkip(unsigned long, unsigned int) DecoderEmitter.cpp:0:0
#12 0x00005dd9c91a3571 (anonymous namespace)::FilterChooser::emitTableEntries((anonymous namespace)::DecoderTableInfo&) const DecoderEmitter.cpp:0:0
#13 0x00005dd9c91a3153 (anonymous namespace)::FilterChooser::emitTableEntries((anonymous namespace)::DecoderTableInfo&) const DecoderEmitter.cpp:0:0
#14 0x00005dd9c91a49e9 llvm::EmitDecoder(llvm::RecordKeeper const&, llvm::raw_ostream&, llvm::StringRef) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x1f49e9)
#15 0x00005dd9c91b9346 emitDisassembler(llvm::RecordKeeper const&, llvm::raw_ostream&) DisassemblerEmitter.cpp:0:0
#16 0x00005dd9c93611af llvm::TableGen::Emitter::ApplyCallback(llvm::RecordKeeper const&, llvm::raw_ostream&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x3b11af)
#17 0x00005dd9c932e95d llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x37e95d)
#18 0x00005dd9c9005968 tblgen_main(int, char**) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x55968)
#19 0x00007528be709d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#20 0x00007528be709e40 call_init ./csu/../csu/libc-start.c:128:20
#21 0x00007528be709e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#22 0x00005dd9c8fcf875 _start (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-tblgen+0x1f875)
FileCheck error: '<stdin>' is empty.
FileCheck command line: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/TableGen/trydecode-emission.td
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/135882
More information about the llvm-commits
mailing list