[Lldb-commits] [lldb] [lldb][windows] fix invalid corefile error message (PR #170471)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 3 10:42:47 PST 2025


================
@@ -79,8 +79,10 @@ namespace lldb_private {
 
 ProcessSP ProcessWindows::CreateInstance(lldb::TargetSP target_sp,
                                          lldb::ListenerSP listener_sp,
-                                         const FileSpec *,
+                                         const FileSpec *crash_file_path,
                                          bool can_connect) {
+  if (crash_file_path)
+    return nullptr; // Cannot create a Windows process from a crash_file
----------------
JDevlieghere wrote:

```suggestion
    return nullptr; // Cannot create a Windows process from a crash_file.
```

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


More information about the lldb-commits mailing list