[PATCH] D115603: [ELF] Remove needsPltAddr in favor of needsCopy

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 12 13:27:22 PST 2021


MaskRay created this revision.
MaskRay added reviewers: bd1976llvm, ikudrin, peter.smith.
Herald added subscribers: arichardson, emaste.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

needsPltAddr is equivalent to `needsCopy && isFunc`. In many places, it is
equivalent to `needsCopy` because the non-STT_FUNC cases are ruled out.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115603

Files:
  lld/ELF/Arch/AArch64.cpp
  lld/ELF/MapFile.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/Symbols.cpp
  lld/ELF/Symbols.h
  lld/ELF/SyntheticSections.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115603.393775.patch
Type: text/x-patch
Size: 5539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211212/24d35fa9/attachment.bin>


More information about the llvm-commits mailing list