[PATCH] D29273: [ELF] - Added partial support for --emit-relocs (no --gc-section case)

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 14:21:39 PST 2017


ruiu added inline comments.


================
Comment at: ELF/LinkerScript.cpp:266
+
+    // If we discard a section, we also should discard a dependent section.
+    InputSection<ELFT> *IS = dyn_cast<InputSection<ELFT>>(S);
----------------
Please describe not what we are doing but why we are doing.


https://reviews.llvm.org/D29273





More information about the llvm-commits mailing list