[llvm] [LLVM][TableGen] Parameterize NumToSkip in DecoderEmitter (PR #135882)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 20:07:28 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-shared` running on `bolt-worker` while building `llvm` at step 5 "build-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/151/builds/5430
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-bolt) failure: build (failure)
...
9.392 [385/18/1760] Building AArch64GenPreLegalizeGICombiner.inc...
9.499 [384/18/1761] Building AArch64GenO0PreLegalizeGICombiner.inc...
10.040 [383/18/1762] Building AArch64GenCallingConv.inc...
10.064 [382/18/1763] Building X86GenInstrMapping.inc...
10.268 [381/18/1764] Building AArch64GenExegesis.inc...
10.289 [380/18/1765] Building X86GenMnemonicTables.inc...
10.297 [379/18/1766] Building AArch64GenAsmWriter.inc...
10.427 [378/18/1767] Building AArch64GenAsmWriter1.inc...
10.519 [377/18/1768] Building X86GenFastISel.inc...
10.580 [376/18/1769] Building AArch64GenDisassemblerTables.inc...
FAILED: lib/Target/AArch64/AArch64GenDisassemblerTables.inc /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/lib/Target/AArch64/AArch64GenDisassemblerTables.inc
cd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build && /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/lib/Target/AArch64 -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/lib/Target /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o lib/Target/AArch64/AArch64GenDisassemblerTables.inc -d lib/Target/AArch64/AArch64GenDisassemblerTables.inc.d
llvm-tblgen: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/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/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-tblgen -gen-disassembler --num-to-skip-size=3 -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/lib/Target/AArch64 -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/include -I /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/lib/Target /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/llvm/lib/Target/AArch64/AArch64.td --write-if-changed -o lib/Target/AArch64/AArch64GenDisassemblerTables.inc -d lib/Target/AArch64/AArch64GenDisassemblerTables.inc.d
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 libLLVMSupport.so.21.0git 0x00007f4e4b06c350 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 240
1 libLLVMSupport.so.21.0git 0x00007f4e4b06975f llvm::sys::RunSignalHandlers() + 47
2 libLLVMSupport.so.21.0git 0x00007f4e4b0698aa
3 libc.so.6 0x00007f4e4a642520
4 libc.so.6 0x00007f4e4a6969fc pthread_kill + 300
5 libc.so.6 0x00007f4e4a642476 raise + 22
6 libc.so.6 0x00007f4e4a6287f3 abort + 211
7 libc.so.6 0x00007f4e4a62871b
8 libc.so.6 0x00007f4e4a639e96
9 llvm-tblgen 0x0000562822b77b9e
10 llvm-tblgen 0x0000562822b837c1
11 llvm-tblgen 0x0000562822b833a3
12 llvm-tblgen 0x0000562822b84c39
13 llvm-tblgen 0x0000562822b99616
14 libLLVMTableGen.so.21.0git 0x00007f4e4b14710f llvm::TableGen::Emitter::ApplyCallback(llvm::RecordKeeper const&, llvm::raw_ostream&) + 63
15 libLLVMTableGen.so.21.0git 0x00007f4e4b10f6cd llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper const&)>) + 4333
16 llvm-tblgen 0x00005628229e4b28
17 libc.so.6 0x00007f4e4a629d90
18 libc.so.6 0x00007f4e4a629e40 __libc_start_main + 128
19 llvm-tblgen 0x00005628229ae7b5
Aborted (core dumped)
10.589 [376/17/1770] Building AArch64GenAsmMatcher.inc...
11.288 [376/16/1771] Building X86GenGlobalISel.inc...
11.385 [376/15/1772] Building AArch64GenMCPseudoLowering.inc...
11.442 [376/14/1773] Building AArch64GenMCCodeEmitter.inc...
11.842 [376/13/1774] Building AArch64GenSystemOperands.inc...
11.918 [376/12/1775] Building AArch64GenFastISel.inc...
11.952 [376/11/1776] Building AArch64GenRegisterInfo.inc...
12.142 [376/10/1777] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
12.405 [376/9/1778] Building X86GenSubtargetInfo.inc...
12.601 [376/8/1779] Building AArch64GenGlobalISel.inc...
12.693 [376/7/1780] Building RISCVGenMCPseudoLowering.inc...
```
</details>
https://github.com/llvm/llvm-project/pull/135882
More information about the llvm-commits
mailing list