[Lldb-commits] [lldb] r205816 - Fixed module spec matching to not try to compare the platform path if there isn't one in the ModuleSpec that is asked if it matches.
Greg Clayton
gclayton at apple.com
Tue Apr 8 16:57:45 PDT 2014
Author: gclayton
Date: Tue Apr 8 18:57:44 2014
New Revision: 205816
URL: http://llvm.org/viewvc/llvm-project?rev=205816&view=rev
Log:
Fixed module spec matching to not try to compare the platform path if there isn't one in the ModuleSpec that is asked if it matches.
<rdar://problem/16558568>
Modified:
lldb/trunk/include/lldb/Core/ModuleSpec.h
Modified: lldb/trunk/include/lldb/Core/ModuleSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ModuleSpec.h?rev=205816&r1=205815&r2=205816&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ModuleSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ModuleSpec.h Tue Apr 8 18:57:44 2014
@@ -386,7 +386,7 @@ public:
if (!FileSpec::Equal(fspec, GetFileSpec(), fspec.GetDirectory().IsEmpty() == false))
return false;
}
- if (match_module_spec.GetPlatformFileSpecPtr())
+ if (GetPlatformFileSpec() && match_module_spec.GetPlatformFileSpecPtr())
{
const FileSpec &fspec = match_module_spec.GetPlatformFileSpec();
if (!FileSpec::Equal(fspec, GetPlatformFileSpec(), fspec.GetDirectory().IsEmpty() == false))
More information about the lldb-commits
mailing list