mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-27 22:11:47 -07:00
check symbol presence using stable name pointer
This commit is contained in:
committed by
Ryan Fleury
parent
5fd06f4466
commit
75d02f1c1e
@@ -482,11 +482,9 @@ lnk_symbol_hash_trie_search(LNK_SymbolHashTrie *trie, U64 hash, String8 name)
|
||||
if (curr == 0) {
|
||||
break;
|
||||
}
|
||||
if (curr->symbol) {
|
||||
if (str8_match(curr->symbol->name, name, 0)) {
|
||||
result = curr;
|
||||
break;
|
||||
}
|
||||
if (curr->name && str8_match(*curr->name, name, 0)) {
|
||||
result = curr;
|
||||
break;
|
||||
}
|
||||
curr_ptr = curr->child + (h >> 62);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user