[all-commits] [llvm/llvm-project] 4976d1: [ELF] Move SyntheticSection check from InputSectio...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Feb 27 23:29:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4976d1fe58f89169efaca565c02c5e424ce266cb
      https://github.com/llvm/llvm-project/commit/4976d1fe58f89169efaca565c02c5e424ce266cb
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-27 (Sun, 27 Feb 2022)

  Changed paths:
    M lld/ELF/InputSection.cpp
    M lld/ELF/OutputSections.cpp

  Log Message:
  -----------
  [ELF] Move SyntheticSection check from InputSection::writeTo to OutputSection::writeTo. NFC

Simplify code and make the heavyweight operation to the call site so that it is
clearer how to improve the inefficient scheduling in the future.




More information about the All-commits mailing list