[Lldb-commits] [lldb] r129118 - /lldb/trunk/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp

Stephen Wilson wilsons at start.ca
Thu Apr 7 19:00:23 PDT 2011


Author: wilsons
Date: Thu Apr  7 21:00:23 2011
New Revision: 129118

URL: http://llvm.org/viewvc/llvm-project?rev=129118&view=rev
Log:
linux: add missing arguments to FindFirstModuleForFileSpec

Specifying the new arguments as NULL is appropriate for now as this is
backwards-compatible with the old invocation. 


Modified:
    lldb/trunk/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp

Modified: lldb/trunk/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp?rev=129118&r1=129117&r2=129118&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp Thu Apr  7 21:00:23 2011
@@ -278,7 +278,8 @@
         for (I = m_rendezvous.unloaded_begin(); I != E; ++I)
         {
             FileSpec file(I->path.c_str(), true);
-            ModuleSP module_sp = loaded_modules.FindFirstModuleForFileSpec(file);
+            ModuleSP module_sp = 
+                loaded_modules.FindFirstModuleForFileSpec(file, NULL, NULL);
             if (!module_sp.empty())
                 old_modules.Append(module_sp);
         }
@@ -368,7 +369,7 @@
     ModuleList &modules = target.GetImages();
     ModuleSP module_sp;
 
-    if ((module_sp = modules.FindFirstModuleForFileSpec(file))) 
+    if ((module_sp = modules.FindFirstModuleForFileSpec(file, NULL, NULL))) 
     {
         UpdateLoadedSections(module_sp, base_addr);
     }





More information about the lldb-commits mailing list