[Lldb-commits] [lldb] [lldb][RISCV] Handle subsets of CSRs in RV32 core dump images (PR #142932)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 5 02:15:00 PDT 2025
================
@@ -999,9 +999,13 @@ llvm::Error ProcessElfCore::ParseThreadContextsFromNoteSegment(
case llvm::Triple::OpenBSD:
return parseOpenBSDNotes(*notes_or_error);
default:
- return llvm::make_error<llvm::StringError>(
- "Don't know how to parse core file. Unsupported OS.",
- llvm::inconvertibleErrorCode());
+ // Treat bare-metal 32-bit RISC-V like Linux.
----------------
DavidSpickett wrote:
I have been wondering if Linux cores work or not. If they do, I would appreciate one being added as a test case, in a separate PR. If they don't work, you don't have to make them work.
https://github.com/llvm/llvm-project/pull/142932
More information about the lldb-commits
mailing list