[llvm] [MC] Split evaluateFixup: separate evaluation from fixup application. NFC (PR #184841)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 10:54:06 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 170771 tests passed
* 3012 tests skipped
* 3 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.MC/RISCV/Relocations/data-directive-specifier.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj -r - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --check-prefixes=CHECK,RV64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj -r -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --check-prefixes=CHECK,RV64
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj -r - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --check-prefixes=CHECK,RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv32 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-readobj -r -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --check-prefixes=CHECK,RV32
# note: command had no output on stdout or stderr
# RUN: at line 4
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --defsym ERR=1 -o /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --check-prefix=ERR --implicit-check-not=error:
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --defsym ERR=1 -o /dev/null
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --check-prefix=ERR --implicit-check-not=error:
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s:37:8: error: ERR: expected string not found in input
# | # ERR: [[#@LINE+1]]:8: error: expected relocatable expression
# |        ^
# | <stdin>:4:160: note: scanning from here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s:35:8: error: expected relocatable expression
# |                                                                                                                                                                ^
# | <stdin>:4:160: note: with "@LINE+1" equal to "38"
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s:35:8: error: expected relocatable expression
# |                                                                                                                                                                ^
# | <stdin>:7:266: note: possible intended match here
# | llvm-mc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp:841: virtual bool llvm::RISCVAsmBackend::addReloc(const MCFragment &, const MCFixup &, const MCValue &, uint64_t &, bool): Assertion `Target.getSpecifier() == 0 && "relocatable SymA-SymB cannot have relocation specifier"' failed.
# |                                                                                                                                                                                                                                                                          ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s:32:8: error: %pltpcrel can only be used in a .word directive 
# |             2: .quad %pltpcrel(g) 
# |             3:  ^ 
# |             4: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s:35:8: error: expected relocatable expression 
# | check:37'0                                                                                                                                                                    X error: no match found
# | check:37'1                                                                                                                                                                      with "@LINE+1" equal to "38"
# |             5: .word %pltpcrel(g-.) 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~
# |             6:  ^ 
# | check:37'0     ~~~
# |             7: llvm-mc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp:841: virtual bool llvm::RISCVAsmBackend::addReloc(const MCFragment &, const MCFixup &, const MCValue &, uint64_t &, bool): Assertion `Target.getSpecifier() == 0 && "relocatable SymA-SymB cannot have relocation specifier"' failed. 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:37'2                                                                                                                                                                                                                                                                              ?                                                                                      possible intended match
# |             8: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9: Stack dump: 
# | check:37'0     ~~~~~~~~~~~~
# |            10: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=riscv64 -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/data-directive-specifier.s --defsym ERR=1 -o /dev/null 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11:  #0 0x0000000002f469a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            12:  #1 0x0000000002f43995 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:37'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.MC/RISCV/Relocations/expr-err.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -filetype obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s -o /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -filetype obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s -o /dev/null
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s:9:10: error: CHECK: expected string not found in input
# | # CHECK: :[[#@LINE-1]]:9: error: expected relocatable expression
# |          ^
# | <stdin>:1:144: note: scanning from here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s:6:10: error: expected relocatable expression
# |                                                                                                                                                ^
# | <stdin>:1:144: note: with "@LINE-1" equal to "8"
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s:6:10: error: expected relocatable expression
# |                                                                                                                                                ^
# | <stdin>:4:265: note: possible intended match here
# | llvm-mc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp:841: virtual bool llvm::RISCVAsmBackend::addReloc(const MCFragment &, const MCFixup &, const MCValue &, uint64_t &, bool): Assertion `Target.getSpecifier() == 0 && "relocatable SymA-SymB cannot have relocation specifier"' failed.
# |                                                                                                                                                                                                                                                                         ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s:6:10: error: expected relocatable expression 
# | check:9'0                                                                                                                                                    X error: no match found
# | check:9'1                                                                                                                                                      with "@LINE-1" equal to "8"
# |            2: lui a0, %hi(tls+0-.Ltmp1) 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3:  ^ 
# | check:9'0     ~~~
# |            4: llvm-mc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp:841: virtual bool llvm::RISCVAsmBackend::addReloc(const MCFragment &, const MCFixup &, const MCValue &, uint64_t &, bool): Assertion `Target.getSpecifier() == 0 && "relocatable SymA-SymB cannot have relocation specifier"' failed. 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'2                                                                                                                                                                                                                                                                             ?                                                                                       possible intended match
# |            5: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6: Stack dump: 
# | check:9'0     ~~~~~~~~~~~~
# |            7: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32 -filetype obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/Relocations/expr-err.s -o /dev/null 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8:  #0 0x0000000002f469a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9:  #1 0x0000000002f43995 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.MC/RISCV/hilo-constaddr-expr.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=riscv32 -mattr=+relax /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s -o /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=riscv32 -mattr=+relax /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s -o /dev/null
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s:17:10: error: CHECK: expected string not found in input
# | # CHECK: :[[#@LINE+1]]:[[#]]: error: expected relocatable expression
# |          ^
# | <stdin>:1:144: note: scanning from here
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s:16:12: error: expected relocatable expression
# |                                                                                                                                                ^
# | <stdin>:1:144: note: with "@LINE+1" equal to "18"
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s:16:12: error: expected relocatable expression
# |                                                                                                                                                ^
# | <stdin>:4:260: note: possible intended match here
# | llvm-mc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp:841: virtual bool llvm::RISCVAsmBackend::addReloc(const MCFragment &, const MCFixup &, const MCValue &, uint64_t &, bool): Assertion `Target.getSpecifier() == 0 && "relocatable SymA-SymB cannot have relocation specifier"' failed.
# |                                                                                                                                                                                                                                                                    ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s:16:12: error: expected relocatable expression 
# | check:17'0                                                                                                                                                    X error: no match found
# | check:17'1                                                                                                                                                      with "@LINE+1" equal to "18"
# |             2:  lui t0, %hi(tmp3-tmp1) 
# | check:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |             3:  ^ 
# | check:17'0     ~~~
# |             4: llvm-mc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp:841: virtual bool llvm::RISCVAsmBackend::addReloc(const MCFragment &, const MCFixup &, const MCValue &, uint64_t &, bool): Assertion `Target.getSpecifier() == 0 && "relocatable SymA-SymB cannot have relocation specifier"' failed. 
# | check:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:17'2                                                                                                                                                                                                                                                                        ?                                                                                            possible intended match
# |             5: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. 
# | check:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: Stack dump: 
# | check:17'0     ~~~~~~~~~~~~
# |             7: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=riscv32 -mattr=+relax /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/hilo-constaddr-expr.s -o /dev/null 
# | check:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             8:  #0 0x0000000002f469a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 
# | check:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             9:  #1 0x0000000002f43995 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:17'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/184841


More information about the llvm-commits mailing list