[all-commits] [llvm/llvm-project] c12d49: [ELF] Remove .strtab deduplication

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 18 14:54:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c12d49c4e286fa108d4d69f1c6d2b8d691993ffd
      https://github.com/llvm/llvm-project/commit/c12d49c4e286fa108d4d69f1c6d2b8d691993ffd
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M lld/ELF/SyntheticSections.cpp
    R lld/test/ELF/strtab-dedup.s
    A lld/test/ELF/strtab-nodedup.s

  Log Message:
  -----------
  [ELF] Remove .strtab deduplication

D118577: the 0.1~1.1% .strtab size reduction does not justify the 3~6%
link time increase. Just remove it even for -O2. release/14.x
has D118577 and the release note mentioned that this may be removed.

Fix https://github.com/ClangBuiltLinux/linux/issues/1578
caused by D118577 (empty string not in stringMap).




More information about the All-commits mailing list