[all-commits] [llvm/llvm-project] 0bde74: [ELF] Pass SectionPiece by reference in getSection...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Apr 1 22:08:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bde74ab04992bcd63bc0bfd8b79e2ef5eab270b
      https://github.com/llvm/llvm-project/commit/0bde74ab04992bcd63bc0bfd8b79e2ef5eab270b
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-04-01 (Wed, 01 Apr 2026)

  Changed paths:
    M lld/ELF/InputSection.cpp

  Log Message:
  -----------
  [ELF] Pass SectionPiece by reference in getSectionPiece. NFC (#190110)

The generated assembly looks more optimized. In addition, this avoids
widened load, which would cause a TSan-detected data race with parallel
--gc-sections (#189321).



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