[all-commits] [llvm/llvm-project] 0d749e: [ELF] Optimize symbol initialization and resolution

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Dec 23 21:54:45 PST 2021

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

  Changed paths:
    M lld/ELF/InputFiles.cpp

  Log Message:
  [ELF] Optimize symbol initialization and resolution

Avoid repeated load of global pointer (symtab) / members (sections.size(), firstGlobal) in the hot paths.

And remove some unneeded this->

More information about the All-commits mailing list