FpDebug: More use of name hashes

git-svn-id: trunk@63816 -
This commit is contained in:
martin 2020-08-23 12:52:32 +00:00
parent f34d943098
commit b63067892d
2 changed files with 2 additions and 0 deletions

View File

@ -1448,6 +1448,7 @@ begin
Continue;
end;
if InfoEntry.InfoScope.Current^.NameHash = NameInfo.NameHash then
if InfoEntry.ReadName(InfoName) and not InfoEntry.IsArtificial
then begin
if (CompareUtf8BothCase(PChar(NameInfo.NameUpper), PChar(NameInfo.NameLower), InfoName)) then begin

View File

@ -344,6 +344,7 @@ type
function Clone: TDwarfInformationEntry;
property AbbrevTag: Cardinal read GetAbbrevTag;
property InfoScope: TDwarfScopeInfo read FScope;
function ReadValue(const AnAttribData: TDwarfAttribData; out AValue: Integer): Boolean; inline;
function ReadValue(const AnAttribData: TDwarfAttribData; out AValue: Int64): Boolean; inline;