mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 20:39:41 -07:00
check symbol presence using stable name pointer
This commit is contained in:
1 parent
5fd06f4466
commit
75d02f1c1e
1 file changed
+3
-5
@@ -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