[llvm] [BOLT][Hexagon] Add Hexagon MCPlusBuilder, relocations (PR #192189)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 23:00:41 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 646 tests passed
* 56 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### BOLT
<details>
<summary>BOLT.Hexagon/cfg-duplex.s</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=hexagon-unknown-linux-musl /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/Hexagon/cfg-duplex.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=hexagon-unknown-linux-musl /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/Hexagon/cfg-duplex.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.exe --emit-relocs -e _start
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/ld.lld /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.exe --emit-relocs -e _start
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.exe --print-cfg --print-only=_start -o /dev/null > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.log 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.exe --print-cfg --print-only=_start -o /dev/null
# .---redirected output from '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/Hexagon/Output/cfg-duplex.s.tmp.log'
# | BOLT-INFO: Target architecture: hexagon
# | BOLT-INFO: BOLT version: 48049ac338ea534441ff2554cacbb2f5474c9e5e
# | BOLT-INFO: first alloc address is 0x10000
# | BOLT-INFO: creating new program header table at address 0x210000, offset 0x200000
# | BOLT-INFO: enabling relocation mode
# | BOLT-INFO: static input executable detected
# | llvm-bolt: /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/include/bolt/Core/MCPlusBuilder.h:134: std::optional<unsigned int> llvm::bolt::MCPlusBuilder::getFirstAnnotationOpIndex(const MCInst &) const: Assertion `Inst.getOperand(NumPrimeOperands).getInst() == nullptr && "Empty instruction expected."' failed.
# | #0 0x000000000368b0e8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000003688065 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000368bef1 SignalHandler(int, siginfo_t*, void*) /home/gha
# | ...
# `---data was truncated--------
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/192189
More information about the llvm-commits
mailing list