diff options
author | Greg Clayton <gclayton@apple.com> | 2012-10-02 06:04:17 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-10-02 06:04:17 +0000 |
commit | 548e9a3e619fe0d2142a330bb3dcfacf0739efb5 (patch) | |
tree | e96cee00e4fe795991c943d00ffff5c032507c9e /lldb/source/Core/Module.cpp | |
parent | 2f88c40ded8872754ced77ed2b39e7bb98f4b6a5 (diff) | |
download | bcm5719-llvm-548e9a3e619fe0d2142a330bb3dcfacf0739efb5.tar.gz bcm5719-llvm-548e9a3e619fe0d2142a330bb3dcfacf0739efb5.zip |
<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()
llvm-svn: 164991
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r-- | lldb/source/Core/Module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index 7ef05d9c131..64a5ebdb722 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -1171,7 +1171,7 @@ Module::MatchesModuleSpec (const ModuleSpec &module_ref) 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; } |