[all-commits] [llvm/llvm-project] bf4fa3: [ELF] Use SmallVector for MergeInputSection::piece...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Dec 16 21:07:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf4fa3036aec8a6b41431d1e4e4fd3e7e52c4482
      https://github.com/llvm/llvm-project/commit/bf4fa3036aec8a6b41431d1e4e4fd3e7e52c4482
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M lld/ELF/InputSection.h

  Log Message:
  -----------
  [ELF] Use SmallVector for MergeInputSection::pieces. NFC

sizeof(pieces) decreases from 24 to 16 on ELF64.
One BumpPtrAllocator can store more MergeInputSections.
The lld executable becomes smaller.




More information about the All-commits mailing list