[Lldb-commits] [lldb] r164991 - /lldb/trunk/source/Core/Module.cpp

Greg Clayton gclayton at apple.com
Mon Oct 1 23:04:18 PDT 2012


Author: gclayton
Date: Tue Oct  2 01:04:17 2012
New Revision: 164991

URL: http://llvm.org/viewvc/llvm-project?rev=164991&view=rev
Log:
<rdar://problem/11791234>

Shared libraries on MacOSX were not properly being removed from the shared
module list when re-running a debug session due to an error in:

Module::MatchesModuleSpec()



Modified:
    lldb/trunk/source/Core/Module.cpp

Modified: lldb/trunk/source/Core/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=164991&r1=164990&r2=164991&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Tue Oct  2 01:04:17 2012
@@ -1171,7 +1171,7 @@
     const FileSpec &platform_file_spec = module_ref.GetPlatformFileSpec();
     if (platform_file_spec)
     {
-        if (!FileSpec::Equal (platform_file_spec, m_platform_file, platform_file_spec.GetDirectory()))
+        if (!FileSpec::Equal (platform_file_spec, GetPlatformFileSpec (), platform_file_spec.GetDirectory()))
             return false;
     }
     





More information about the lldb-commits mailing list