[all-commits] [llvm/llvm-project] b79686: [ELF] Remove needsPltAddr in favor of needsCopy
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Dec 14 09:52:55 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b79686c6dcc8dbc478399acaf9cc673531181b65
https://github.com/llvm/llvm-project/commit/b79686c6dcc8dbc478399acaf9cc673531181b65
Author: Fangrui Song <i at maskray.me>
Date: 2021-12-14 (Tue, 14 Dec 2021)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/MapFile.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Symbols.cpp
M lld/ELF/Symbols.h
M lld/ELF/SyntheticSections.cpp
Log Message:
-----------
[ELF] Remove needsPltAddr in favor of needsCopy
needsPltAddr is equivalent to `needsCopy && isFunc`. In many places, it is
equivalent to `needsCopy` because the non-STT_FUNC cases are ruled out.
Reviewed By: ikudrin, peter.smith
Differential Revision: https://reviews.llvm.org/D115603
More information about the All-commits
mailing list