[all-commits] [llvm/llvm-project] 509153: [ELF] ObjFile<ELFT>::initializeSymbols: Batch allo...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 15 12:54:52 PST 2021


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

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/invalid/symtab-sh-info-dup.test

  Log Message:
  -----------
  [ELF] ObjFile<ELFT>::initializeSymbols: Batch allocate local symbols

and detangle local/global symbol initialization.

My x86-64 lld executable is 8k smaller due to the removal of SpecificAlloc<Undefined>.




More information about the All-commits mailing list