[Lldb-commits] [lldb] [LLDB] Fix Memory64 BaseRVA, move all non-stack memory to Mem64. (PR #146777)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 17 13:48:36 PDT 2025


================
@@ -965,6 +965,16 @@ Status PluginManager::SaveCore(const lldb::ProcessSP &process_sp,
     return error;
   }
 
+  if (!options.GetProcess())
+    options.SetProcess(process_sp);
+
+  // Make sure the process sp is the same as the one we are using.
+  if (options.GetProcess() != process_sp) {
+    error = Status::FromErrorString(
+        "Save Core Options configured for a different process.");
+    return error;
+  }
----------------
clayborg wrote:

move this to the code that calls it.

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


More information about the lldb-commits mailing list