[all-commits] [llvm/llvm-project] ac0986: [ELF] Change std::vector<InputSectionBase *> to Sm...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 17 10:25:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac0986f88058b5d82559ca84c607c7a664827cbc
      https://github.com/llvm/llvm-project/commit/ac0986f88058b5d82559ca84c607c7a664827cbc
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Change std::vector<InputSectionBase *> to SmallVector

There is no remaining std::vector<InputSectionBase> now. My x86-64 lld
executable is 2KiB small.




More information about the All-commits mailing list