aboutsummaryrefslogtreecommitdiff
path: root/gcc/data-streamer-in.c
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-05-14 12:13:29 +0000
committerGitHub <noreply@github.com>2021-05-14 12:13:29 +0000
commit4d71539414ca4e5edb51556b136b0b5eaee9a084 (patch)
treef742435058e7798998a08febd0d26c0600b9ec42 /gcc/data-streamer-in.c
parentb27c694ae995b48b8042b423bf7a0ce90166c611 (diff)
parent9bcbfee5f3e7d69b59c985404b3e4e0788f4a607 (diff)
downloadgcc-4d71539414ca4e5edb51556b136b0b5eaee9a084.zip
gcc-4d71539414ca4e5edb51556b136b0b5eaee9a084.tar.gz
gcc-4d71539414ca4e5edb51556b136b0b5eaee9a084.tar.bz2
Merge #430
430: Add FNV-128 hash for legacy symbol mangling r=philberty a=philberty Rustc uses a SIP128 hash for the legacy symbol mangling but an FNV hash is simpler to implement. This is a port of the implementation from golang stdlib hash package. The fingerprint for the hash is simply the function signature for now. Rustc takes into account options such as -Cmetadata to generate uniqueness. We still need to implement a SIP128 hasher and the V0 symbol mangling but this will do in the interim. Addresses: #305 Fixes: #428 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/data-streamer-in.c')
0 files changed, 0 insertions, 0 deletions