summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Wilson <wilsons@start.ca>2011-04-08 02:00:23 +0000
committerStephen Wilson <wilsons@start.ca>2011-04-08 02:00:23 +0000
commit3f588d3f5078cda77ac81e34c6bb61743f11f85a (patch)
treec45e596316518d1d2dfac8a6c64b50a87b2a70ab
parent7e51b4640f43863ec4219734a47eb71309d6a213 (diff)
downloadbcm5719-llvm-3f588d3f5078cda77ac81e34c6bb61743f11f85a.tar.gz
bcm5719-llvm-3f588d3f5078cda77ac81e34c6bb61743f11f85a.zip
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. llvm-svn: 129118
-rw-r--r--lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp b/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp
index 907f5748267..1eda619225c 100644
--- a/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp
+++ b/lldb/source/Plugins/DynamicLoader/Linux-DYLD/DynamicLoaderLinuxDYLD.cpp
@@ -278,7 +278,8 @@ DynamicLoaderLinuxDYLD::RefreshModules()
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 @@ DynamicLoaderLinuxDYLD::LoadModuleAtAddress(const FileSpec &file, addr_t base_ad
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);
}
OpenPOWER on IntegriCloud