diff options
author | Greg Clayton <gclayton@apple.com> | 2010-12-12 21:03:32 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-12-12 21:03:32 +0000 |
commit | 7d07a45fffca6e51fd353b5beed3db093c978f1a (patch) | |
tree | fdd9e85f7947d06216970e3b3008c9108f372c74 /lldb/source/Core/ModuleList.cpp | |
parent | 69bf128b2f4e9c14f1904fc616b0a6f2f5bf3ce9 (diff) | |
download | bcm5719-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.cpp | 2 |
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(); |