[Lldb-commits] [lldb] r184082 - Remove extra modules.Append() as it causes dupes in the m_images array. (Used with image list, etc.)

Michael Sartain mikesart at valvesoftware.com
Mon Jun 17 08:35:43 PDT 2013


Author: mikesart
Date: Mon Jun 17 10:35:42 2013
New Revision: 184082

URL: http://llvm.org/viewvc/llvm-project?rev=184082&view=rev
Log:
Remove extra modules.Append() as it causes dupes in the m_images array. (Used with image list, etc.)


Modified:
    lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp

Modified: lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp?rev=184082&r1=184081&r2=184082&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp Mon Jun 17 10:35:42 2013
@@ -419,7 +419,6 @@ DynamicLoaderPOSIXDYLD::LoadModuleAtAddr
     else if ((module_sp = target.GetSharedModule(module_spec))) 
     {
         UpdateLoadedSections(module_sp, base_addr);
-        modules.Append(module_sp);
     }
 
     return module_sp;





More information about the lldb-commits mailing list