[Lldb-commits] [lldb] [lldb][DynamicLoader] Fix lldb unable to stop at _dl_debug_state if user set it before the process launched. (PR #88792)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 17 12:20:31 PDT 2024


================
@@ -572,9 +572,14 @@ ModuleSP DynamicLoaderPOSIXDYLD::LoadInterpreterModule() {
   ModuleSpec module_spec(file, target.GetArchitecture());
 
   if (ModuleSP module_sp = target.GetOrCreateModule(module_spec,
-                                                    true /* notify */)) {
+                                                    false /* notify */)) {
----------------
jimingham wrote:

Can you put a comment in here saying why you pass false here.  The next person who comes to read this won't have the context of this discussion and will likely be confused.

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


More information about the lldb-commits mailing list