[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:51:19 PST 2018


grimar added inline comments.


================
Comment at: ELF/SyntheticSections.cpp:1347
+                                 In.RelaPlt->getParent() &&
+                             In.RelaIplt->Name != ".rel.dyn")
+                           Size += In.RelaIplt->getSize();
----------------
Seems it can be `In.RelaIplt->Name == In.RelaPlt`.
It feels like a slightly cleaner way probably?


https://reviews.llvm.org/D54759





More information about the llvm-commits mailing list