[Lldb-commits] [PATCH] D89157: [lldb] Report old modules from ModuleList::ReplaceEquivalent

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 13 11:27:14 PDT 2020


jingham added a comment.

The change makes sense.

If I run lldb on a binary, hit a breakpoint, run to it, then change a file, rebuild the executable outside lldb and rerun, I only see one instance of the executable.  Why does that path not need your fix?



================
Comment at: lldb/include/lldb/Core/ModuleList.h:142
   ///     A shared pointer to a module to replace in this collection.
-  void ReplaceEquivalent(const lldb::ModuleSP &module_sp);
+  void ReplaceEquivalent(
+      const lldb::ModuleSP &module_sp,
----------------
You added another parameter, so you should add it to the docs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89157/new/

https://reviews.llvm.org/D89157



More information about the lldb-commits mailing list