LLVM: llvm::codeview::LocallyHashedType Struct Reference (original) (raw)

A locally hashed type represents a straightforward hash code of a serialized record. More...

A locally hashed type represents a straightforward hash code of a serialized record.

The record is simply serialized, and then the bytes are hashed by a standard algorithm. This is sufficient for the case of de-duplicating records within a single sequence of types, because if two records both have a back-reference to the same type in the same stream, they will both have the same numeric value for the TypeIndex of the back reference.

Definition at line 35 of file TypeHashing.h.