[all-commits] [llvm/llvm-project] 55c14d: [ELF] Simplify DynamicSection content computation....

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Nov 25 14:12:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55c14d6dbfd8e7b86c15d2613fea3490078e2ae4
      https://github.com/llvm/llvm-project/commit/55c14d6dbfd8e7b86c15d2613fea3490078e2ae4
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-25 (Thu, 25 Nov 2021)

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

  Log Message:
  -----------
  [ELF] Simplify DynamicSection content computation. NFC

The new code computes the content twice, but avoides the tricky
std::function<uint64_t()>. Removed 13KiB code in a Release build.




More information about the All-commits mailing list