Fix incorrect matching logic.
- Would lead to the wrong type potentially being matched since name comparison would be skipped.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user