[Lldb-commits] [lldb] [lldb][RISCV] Add RegisterContextPOSIXCore for RISC-V 64 (PR #93297)

Alexey Merzlyakov via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 4 06:10:44 PDT 2024


AlexeyMerzlyakov wrote:

> Corefiles can be debugged anywhere, so you should add a test case to `lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py`.

I've added two testcases (one general and one checking main RISC-V registers) to `TestLinuxCore.py`. It was used the approach described above with `cat 0x01 > /proc/self/coredump_filter` minimal viable flag set for these tests.

https://github.com/llvm/llvm-project/pull/93297


More information about the lldb-commits mailing list