[ELF] splitNonStrings: switch to xxh3_64bits
authorFangrui Song <i@maskray.me>
Wed, 19 Jul 2023 18:28:47 +0000 (11:28 -0700)
committerFangrui Song <i@maskray.me>
Wed, 19 Jul 2023 18:28:47 +0000 (11:28 -0700)
commiteabaf3ba853084a3604745054a2a88fa17d01b26
tree7e2d91c358edc1bb0e1492f3c790d5f308f95259
parent642ffbbf38bbe996a7934b3e607ca08151c76163
[ELF] splitNonStrings: switch to xxh3_64bits

This is primarily used for .rodata.cst* duplicate elimination. The
sections are usually much smaller than .debug_str (D154813), so the
speedup is negligible. We do this switch for consistency as we want to
eliminate xxh64 in lld.
lld/ELF/InputSection.cpp
lld/test/ELF/icf-merged-sections.s
lld/test/ELF/linkerscript/merge-output-sections.s
lld/test/ELF/merge-align.s
lld/test/ELF/merge-align2.s
lld/test/ELF/merge-entsize2.s
lld/test/ELF/merge.s