[all-commits] [llvm/llvm-project] bbf7b9: [ELF] Remove unused setSymbolAndType after #69295....

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Oct 17 15:08:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbf7b9d805f5773b4fe5bfb69081fe3691a90fb5
      https://github.com/llvm/llvm-project/commit/bbf7b9d805f5773b4fe5bfb69081fe3691a90fb5
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M lld/ELF/InputSection.cpp

  Log Message:
  -----------
  [ELF] Remove unused setSymbolAndType after #69295. NFC

One use of setSymbolAndType (related to https://reviews.llvm.org/D53864
"Do not crash when -r output uses linker script with `/DISCARD/`")
is no longer needed after commit 1981b1b6b92f7579a30c9ed32dbdf3bc749c1b40
demotes symbols in discarded sections to Undefined.




More information about the All-commits mailing list