[PATCH] D41592: [ELF] - Add missing dynamic tags when producing output with IRelative relocations only.

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 29 10:13:10 PST 2017


emaste added inline comments.


================
Comment at: ELF/SyntheticSections.cpp:1090
+  // .rel[a].plt section.
+  if (InX::RelaPlt->getParent()->Live) {
     addInSec(DT_JMPREL, InX::RelaPlt);
----------------
The previous code checked that getParent() was not null; why is it no longer necessary?


https://reviews.llvm.org/D41592





More information about the llvm-commits mailing list