[all-commits] [llvm/llvm-project] 1a4d6d: [ELF] Remove redundant isExported computation

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jan 26 20:43:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a4d6de1b532149b10522eae5dabce39e5f7c687
      https://github.com/llvm/llvm-project/commit/1a4d6de1b532149b10522eae5dabce39e5f7c687
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-01-26 (Sun, 26 Jan 2025)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Remove redundant isExported computation

Commit 2a26292388fcab0c857c91b2d08074c33abd37e8 made `isExported`
accurate except a few linker-synthesized symbols in finalizeSections.
We can collect these linker-synthesized symbols into a vector
and avoid recomputation for other symbols.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list