================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to