[all-commits] [llvm/llvm-project] 6575e3: [ELF] Reuse SHT_GROUP selection verdicts in initia...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jul 6 08:22:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6575e395e3f37f4bea17092f612b37649d319041
      https://github.com/llvm/llvm-project/commit/6575e395e3f37f4bea17092f612b37649d319041
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-07-06 (Mon, 06 Jul 2026)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputFiles.h

  Log Message:
  -----------
  [ELF] Reuse SHT_GROUP selection verdicts in initializeSections. NFC (#207437)

For each SHT_GROUP section, the parallel initializeSections re-derives
what the serial parse() already decided
(https://reviews.llvm.org/D130810).

Record the kept group section indices during parse() so that we can save
the work (xxh3 string hash and DenseMap lookup) in the parallel
initializeSections().

In a clang-relassert --threads=8 benchmark, "Initialize sections"
decreases from 39.0 to 30.6.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list