[all-commits] [llvm/llvm-project] 1a5902: [ELF] Optimize "Strip sections"

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Mar 15 23:15:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a590232f42a129b1d209a2f9ac2915f1e8d13d0
      https://github.com/llvm/llvm-project/commit/1a590232f42a129b1d209a2f9ac2915f1e8d13d0
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp

  Log Message:
  -----------
  [ELF] Optimize "Strip sections"

If SHT_LLVM_SYMPART is unused, don't iterate over inputSections.
If neither --strip-debug/--strip-all, don't iterate over inputSections.




More information about the All-commits mailing list