[all-commits] [llvm/llvm-project] 18538e: Revert "[ELF] Optimize parseSymbolVersion"

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 8 17:50:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18538e213498281653fca5baefa2dec4ae51bf91
      https://github.com/llvm/llvm-project/commit/18538e213498281653fca5baefa2dec4ae51bf91
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputFiles.h
    M lld/ELF/SymbolTable.cpp
    M lld/test/ELF/symver.s

  Log Message:
  -----------
  Revert "[ELF] Optimize parseSymbolVersion"

This reverts commit 2b129dacdde667137b5012d52f1d96e0ab26c749.

parseSymbolVersion can be combined with computeIsPreemptible,
making hasVersionSyms unneeded.


  Commit: 712264b83c736fac7a7f0d4296f84c1afbd93b1a
      https://github.com/llvm/llvm-project/commit/712264b83c736fac7a7f0d4296f84c1afbd93b1a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/ICF.cpp
    M lld/ELF/SymbolTable.cpp
    M lld/ELF/Symbols.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Merge parseSymbolVersion and computeIspreemptible

ICF needs isPreemptible, which can be combined with parseSymbolVersion.


Compare: https://github.com/llvm/llvm-project/compare/a00eab6a48d7...712264b83c73

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