ElfSymbol.opEquals
bool opEquals(const ref ElfSymbol other) constCompare two symbols by table identity.
Two symbols are equal when they refer to the same entry of the same symbol table with the same format interpretation: identical backing data (pointer and length), identical string table, same index, class, and byte order. Content-wise identical tables are distinct identities, which keeps equality consistent with toHash.
bool opEquals(const ElfSymbol other) constCompare two symbols by table identity (value overload).
Parameters
other | Symbol to compare against. |
Returns
true if both symbols share table identity and index.