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) {
|
if (baseTypeOwnerEntry != NULL) {
|
||||||
DwarfUtils::GetFullyQualifiedDIEName(baseTypeOwnerEntry,
|
DwarfUtils::GetFullyQualifiedDIEName(baseTypeOwnerEntry,
|
||||||
baseEntryName);
|
baseEntryName);
|
||||||
if (!baseEntryName.IsEmpty() && baseEntryName
|
|
||||||
!= constraints.BaseTypeName())
|
if (baseEntryName != constraints.BaseTypeName())
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user