forked from OSchip/llvm-project
Remove extra modules.Append() as it causes dupes in the m_images array. (Used with image list, etc.)
llvm-svn: 184082
This commit is contained in:
parent
28c2e33362
commit
c493bd1f59
|
@ -419,7 +419,6 @@ DynamicLoaderPOSIXDYLD::LoadModuleAtAddress(const FileSpec &file, addr_t base_ad
|
|||
else if ((module_sp = target.GetSharedModule(module_spec)))
|
||||
{
|
||||
UpdateLoadedSections(module_sp, base_addr);
|
||||
modules.Append(module_sp);
|
||||
}
|
||||
|
||||
return module_sp;
|
||||
|
|
Loading…
Reference in New Issue