[all-commits] [llvm/llvm-project] 93558e: [ELF] Internalize createMergeSynthetic. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Dec 16 20:50:19 PST 2021


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

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

  Log Message:
  -----------
  [ELF] Internalize createMergeSynthetic. NFC

Only called once. Moving to OutputSections.cpp can make it inlined.
finalizeInputSections can be very hot, especially in -O1 links with much debug info.




More information about the All-commits mailing list