[Lldb-commits] [lldb] [lldb/Target] Delay image loading after corefile process creation (PR #70351)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 30 11:38:34 PDT 2023


================
@@ -614,6 +614,8 @@ class Process : public std::enable_shared_from_this<Process>,
     return error;
   }
 
+  virtual void DidLoadCore() {}
----------------
clayborg wrote:

We could avoid adding the DidLoadCore and re-use the existing Process DidAttach:
```
class Process {
...
  virtual void DidAttach(ArchSpec &process_arch) { process_arch.Clear(); }
```

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


More information about the lldb-commits mailing list