[PATCH] D54759: [LLD][ELF] Use more specific method to calculate DT_PLTRELSZ
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 21 02:52:25 PST 2018
grimar added inline comments.
================
Comment at: ELF/SyntheticSections.cpp:1347
+ In.RelaPlt->getParent() &&
+ In.RelaIplt->Name != ".rel.dyn")
+ Size += In.RelaIplt->getSize();
----------------
grimar wrote:
> Seems it can be `In.RelaIplt->Name == In.RelaPlt`.
> It feels like a slightly cleaner way probably?
I mean `In.RelaIplt->Name == In.RelaPlt->Name`
https://reviews.llvm.org/D54759
More information about the llvm-commits
mailing list