ElfSymbol.toHash

size_t toHash() const nothrow @nogc

Compute a hash of this symbol for use in associative arrays.

The hash covers exactly the fields compared by opEquals (backing table identity, string table identity, index, class, byte order), so equal symbols always hash equally and associative array lookups behave consistently.

Returns

A hash value combining the table identities and the symbol index.