[llvm] [RISCV][Disassembler] Symbolize UImm20 and SImm12Lo operands (PR #217550)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 02:12:44 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 180922 tests passed
* 3707 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.MC/RISCV/macho-offset-relocations.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 riscv32-apple-macho /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/macho-offset-relocations.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o -filetype=obj
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32-apple-macho /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/macho-offset-relocations.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o -filetype=obj
# 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-objdump -dr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o | /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/macho-offset-relocations.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump -dr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o
# 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/macho-offset-relocations.s
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-otool -Vtr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o | /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/macho-offset-relocations.s --check-prefix=OTOOL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-otool -Vtr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o
# 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/macho-offset-relocations.s --check-prefix=OTOOL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/macho-offset-relocations.s:42:16: error: OTOOL-LABEL: expected string not found in input
# | ; OTOOL-LABEL: 000007fc nop
# | ^
# | <stdin>:2:49: note: scanning from here
# | Relocation information (__TEXT,__text) 4 entries
# | ^
# | <stdin>:72:1: note: possible intended match here
# | 000000fc li zero, ltmp0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/macho-offset-relocations.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/macho-offset-relocations.s.tmp.o:
# | 2: Relocation information (__TEXT,__text) 4 entries
# | label:42'0 { search range start (exclusive)
# | label:42'1 error: no match found in search range
# | 3: address pcrel length extern type scattered symbolnum/value
# | 4: 00000808 False long False 8 False addend = 0xfff7f8
# | 5: 00000808 True long True 4 False _glob
# | 6: 00000800 True long True 4 False _glob
# | 7: 00000000 True long True 3 False _glob
# | .
# | .
# | .
# | 67: 000000e8 li zero, ltmp0
# | 68: 000000ec li zero, ltmp0
# | 69: 000000f0 li zero, ltmp0
# | 70: 000000f4 li zero, ltmp0
# | 71: 000000f8 li zero, ltmp0
# | 72: 000000fc li zero, ltmp0
# | label:42'2 ? possible intended match
# | 73: 00000100 li zero, ltmp0
# | 74: 00000104 li zero, ltmp0
# | 75: 00000108 li zero, ltmp0
# | 76: 0000010c li zero, ltmp0
# | 77: 00000110 li zero, ltmp0
# | .
# | .
# | .
# | 519: 000007f8 li zero, ltmp0
# | 520: 000007fc li zero, ltmp0
# | 521: 00000800 lw a1, -0x800(a0)
# | 522: 00000804 addi a1, a1, 0x1
# | 523: 00000808 sw a1, ltmp0(a0)
# | 524: 0000080c jr ltmp0(ra)
# | label:42'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.MC/RISCV/riscv-relocs-macho.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 riscv32-apple-macho -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/riscv-relocs-macho.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/riscv-relocs-macho.s.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple riscv32-apple-macho -filetype=obj /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/riscv-relocs-macho.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/riscv-relocs-macho.s.tmp.o
# 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-objdump -dr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/riscv-relocs-macho.s.tmp.o | /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/riscv-relocs-macho.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump -dr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/riscv-relocs-macho.s.tmp.o
# 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/riscv-relocs-macho.s
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-otool -Vtr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/riscv-relocs-macho.s.tmp.o | /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/riscv-relocs-macho.s --check-prefix=OTOOL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-otool -Vtr /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/MC/RISCV/Output/riscv-relocs-macho.s.tmp.o
# 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/riscv-relocs-macho.s --check-prefix=OTOOL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/riscv-relocs-macho.s:167:15: error: OTOOL-NEXT: expected string not found in input
# | ; OTOOL-NEXT: 00000000 auipc a0, 0x0
# | ^
# | <stdin>:24:36: note: scanning from here
# | Contents of (__TEXT,__text) section
# | ^
# | <stdin>:25:1: note: possible intended match here
# | 00000000 auipc a0, ltmp0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/RISCV/riscv-relocs-macho.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 19: 0000000c True long True 4 False var
# | 20: 00000008 False long False 8 False addend = 0x000010
# | 21: 00000008 True long True 3 False var
# | 22: 00000004 True long True 4 False var
# | 23: 00000000 True long True 3 False var
# | 24: Contents of (__TEXT,__text) section
# | next:167'0 { search range start (exclusive)
# | next:167'1 error: no match found in search range
# | 25: 00000000 auipc a0, ltmp0
# | next:167'2 ? possible intended match
# | 26: 00000004 addi a0, a0, -0x4
# | 27: 00000008 auipc a0, ltmp0
# | 28: 0000000c addi a0, a0, -0x4
# | 29: 00000010 auipc a0, ltmp0
# | 30: 00000014 lw a0, -0x4(a0)
# | .
# | .
# | .
# | 36: 0000002c lui a0, ltmp0
# | 37: 00000030 addi a0, a0, ltmp0
# | 38: .long 0 @ KIND_DATA
# | 39: .long 42 @ KIND_DATA
# | 40: .long 0 @ KIND_DATA
# | 41: .long 42 @ KIND_DATA
# | next:167'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/217550
More information about the llvm-commits
mailing list