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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 02:39:11 PST 2017


grimar 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);
----------------
ruiu wrote:
> Please describe not what we are doing but why we are doing.
Done.


https://reviews.llvm.org/D29273





More information about the llvm-commits mailing list