[PATCH] D24830: [ELF] - Linkerscript: implemented BYTE/SHORT/LONG/QUAD commands.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 07:16:08 PDT 2016


rafael added inline comments.

================
Comment at: ELF/LinkerScript.cpp:713
@@ +712,3 @@
+template <class ELFT>
+static OutputSectionCommand *findOutputSection(StringRef Name) {
+  for (const std::unique_ptr<BaseCommand> &Base : ScriptConfig->Commands)
----------------
You can probably use getSectionIndex.


https://reviews.llvm.org/D24830





More information about the llvm-commits mailing list