Fix incorrect matching logic.

- Would lead to the wrong type potentially being matched since name
  comparison would be skipped.
This commit is contained in:
Rene Gollent
2012-12-02 15:26:19 -05:00
parent eb8a124325
commit 5ad3b800d5
@@ -1080,8 +1080,8 @@ DwarfImageDebugInfo::_EvaluateBaseTypeConstraints(DIEType* type,
if (baseTypeOwnerEntry != NULL) {
DwarfUtils::GetFullyQualifiedDIEName(baseTypeOwnerEntry,
baseEntryName);
if (!baseEntryName.IsEmpty() && baseEntryName
!= constraints.BaseTypeName())
if (baseEntryName != constraints.BaseTypeName())
return false;
}
}