summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ModuleList.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-12-12 21:03:32 +0000
committerGreg Clayton <gclayton@apple.com>2010-12-12 21:03:32 +0000
commit7d07a45fffca6e51fd353b5beed3db093c978f1a (patch)
treefdd9e85f7947d06216970e3b3008c9108f372c74 /lldb/source/Core/ModuleList.cpp
parent69bf128b2f4e9c14f1904fc616b0a6f2f5bf3ce9 (diff)
downloadbcm5719-llvm-7d07a45fffca6e51fd353b5beed3db093c978f1a.tar.gz
bcm5719-llvm-7d07a45fffca6e51fd353b5beed3db093c978f1a.zip
Fixed an issue where the macosx dynamic loader, on the first shared library loaded notification, wasn't properly removing shared libraries from the target that didn't get loaded. This usually happens when a different shared library is loaded in place of another due to DYLD_LIBRARY_PATH or DYLD_FRAMEWORK_PATH environment variables. We now properly remove any images that didn't make it into the executable.
llvm-svn: 121641
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
-rw-r--r--lldb/source/Core/ModuleList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index 3d9cc5ee03e..d829123401e 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -67,7 +67,7 @@ ModuleList::Append (ModuleSP &module_sp)
}
bool
-ModuleList::AppendInNeeded (ModuleSP &module_sp)
+ModuleList::AppendIfNeeded (ModuleSP &module_sp)
{
Mutex::Locker locker(m_modules_mutex);
collection::iterator pos, end = m_modules.end();
OpenPOWER on IntegriCloud