[lld] r304197 - [ELF] - Fix comment. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue May 30 00:51:25 PDT 2017


Author: grimar
Date: Tue May 30 02:51:25 2017
New Revision: 304197

URL: http://llvm.org/viewvc/llvm-project?rev=304197&view=rev
Log:
[ELF] - Fix comment. NFC.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=304197&r1=304196&r2=304197&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Tue May 30 02:51:25 2017
@@ -117,7 +117,7 @@ template <class ELFT> static void finali
   // the symbol table.
   Sec->Link = InX::SymTab->OutSec->SectionIndex;
 
-  // sh_link then contain index of an entry in symbol table section which
+  // sh_info then contain index of an entry in symbol table section which
   // provides signature of the section group.
   elf::ObjectFile<ELFT> *Obj = Sec->Sections[0]->getFile<ELFT>();
   assert(Config->Relocatable && Sec->Sections.size() == 1);




More information about the llvm-commits mailing list