[all-commits] [llvm/llvm-project] 085f7f: [ELF] Remove redundant isExported computation

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 27 22:40:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 085f7fb560ee08a4d78a51dbf247ea816f8515a7
      https://github.com/llvm/llvm-project/commit/085f7fb560ee08a4d78a51dbf247ea816f8515a7
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-01-27 (Mon, 27 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.

This is reland of 1a4d6de1b532149b10522eae5dabce39e5f7c687 after
`isExported` has been made accurate by f10441ad003236ef3b9e5415a571d2be0c0ce5ce



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