[Lldb-commits] [lldb] [LLDB] RISCV feature attribute support and allows overriding additional(default) feature (PR #147990)

via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 17 05:48:52 PST 2026


github-actions[bot] wrote:

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

* 33334 tests passed
* 500 tests skipped
* 2 tests failed

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

### lldb-shell
<details>
<summary>lldb-shell.Commands/command-disassemble.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple x86_64-pc-linux /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-disassemble.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Commands/Output/command-disassemble.s.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple x86_64-pc-linux /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-disassemble.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Commands/Output/command-disassemble.s.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Commands/Output/command-disassemble.s.tmp -o "settings set interpreter.stop-command-source-on-error false"    -o "settings set stop-disassembly-max-size 8000"    -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit -o exit 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-disassemble.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Commands/Output/command-disassemble.s.tmp -o 'settings set interpreter.stop-command-source-on-error false' -o 'settings set stop-disassembly-max-size 8000' -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit -o exit
# 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/lldb/test/Shell/Commands/command-disassemble.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-disassemble.s:9:15: error: CHECK-NEXT: is not on the line after the previous match
# | # CHECK-NEXT: error: Cannot disassemble around the current function without a selected frame: no currently running process.
# |               ^
# | <stdin>:12:1: note: 'next' match was here
# | error: Cannot disassemble around the current function without a selected frame: no currently running process.
# | ^
# | <stdin>:10:19: note: previous match ended here
# | (lldb) disassemble
# |                   ^
# | <stdin>:11:1: note: non-matching line after previous match is here
# | Info: No default features provided.
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-disassemble.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |         .
# |         .
# |         .
# |         7: (lldb) settings set stop-disassembly-max-size 8000 
# |         8: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit' 
# |         9: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/Inputs/command-disassemble.lldbinit'. 
# |        10: (lldb) disassemble 
# |        11: Info: No default features provided. 
# |        12: error: Cannot disassemble around the current function without a selected frame: no currently running process. 
# | next:9     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |        13: (lldb) disassemble --line 
# |        14: Info: No default features provided. 
# |        15: error: Cannot disassemble around the current line without a selected frame: no currently running process. 
# |        16: (lldb) disassemble --frame 
# |        17: Info: No default features provided. 
# |         .
# |         .
# |         .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.Minidump/disassemble-no-module.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Minidump/disassemble-no-module.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Minidump/Output/disassemble-no-module.yaml.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Minidump/disassemble-no-module.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Minidump/Output/disassemble-no-module.yaml.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -c /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Minidump/Output/disassemble-no-module.yaml.tmp -o bt -o disassemble 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Minidump/disassemble-no-module.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -c /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/Minidump/Output/disassemble-no-module.yaml.tmp -o bt -o disassemble
# 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/lldb/test/Shell/Minidump/disassemble-no-module.yaml
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Minidump/disassemble-no-module.yaml:9:15: error: CHECK-NEXT: is not on the line after the previous match
# | # CHECK-NEXT: error: error reading data from section .module_image
# |               ^
# | <stdin>:12:1: note: 'next' match was here
# | error: error reading data from section .module_image
# | ^
# | <stdin>:9:19: note: previous match ended here
# | (lldb) disassemble
# |                   ^
# | <stdin>:10:1: note: non-matching line after previous match is here
# | Info: No default features provided.
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Minidump/disassemble-no-module.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |         .
# |         .
# |         .
# |         7: * thread #1 
# |         8:  * frame #0: 0x0000000000400430 nonexisting-module` 
# |         9: (lldb) disassemble 
# |        10: Info: No default features provided. 
# |        11: Info: No default features provided. 
# |        12: error: error reading data from section .module_image 
# | next:9     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |        13: error: Failed to disassemble memory at 0x00400430. 
# | >>>>>>
# `-----------------------------
# 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/147990


More information about the lldb-commits mailing list