================
@@ -2545,6 +2546,11 @@ ModuleSP Process::ReadModuleFromMemory(const FileSpec 
&file_spec,
   ModuleSP module_sp(new Module(file_spec, ArchSpec()));
   if (module_sp) {
     Status error;
+    std::unique_ptr<Progress> progress_up;
+    if (!GetCoreFile())
----------------
jasonmolenda wrote:

The name is a little misleading, `IsLiveDebugSession` is only false for 
`PostMortemProcess`.  Maybe we should have a `Process::IsCorefileProcess` or 
something, or I could put a comment there about what I'm doing.

https://github.com/llvm/llvm-project/pull/98845
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to