[all-commits] [llvm/llvm-project] eabaf3: [ELF] splitNonStrings: switch to xxh3_64bits

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 19 11:29:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eabaf3ba853084a3604745054a2a88fa17d01b26
      https://github.com/llvm/llvm-project/commit/eabaf3ba853084a3604745054a2a88fa17d01b26
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/test/ELF/icf-merged-sections.s
    M lld/test/ELF/linkerscript/merge-output-sections.s
    M lld/test/ELF/merge-align.s
    M lld/test/ELF/merge-align2.s
    M lld/test/ELF/merge-entsize2.s
    M lld/test/ELF/merge.s

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list