[lld] r269905 - Fix typo in comment aligment should be alignment. NFC.

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 04:40:17 PDT 2016


Author: psmith
Date: Wed May 18 06:40:16 2016
New Revision: 269905

URL: http://llvm.org/viewvc/llvm-project?rev=269905&view=rev
Log:
Fix typo in comment aligment should be alignment. NFC.

Modified:
    lld/trunk/ELF/InputFiles.cpp

Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=269905&r1=269904&r2=269905&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Wed May 18 06:40:16 2016
@@ -170,7 +170,7 @@ template <class ELFT> static bool should
   if (!EntSize || Sec.sh_size % EntSize)
     fatal("SHF_MERGE section size must be a multiple of sh_entsize");
 
-  // Don't try to merge if the aligment is larger than the sh_entsize and this
+  // Don't try to merge if the alignment is larger than the sh_entsize and this
   // is not SHF_STRINGS.
   //
   // Since this is not a SHF_STRINGS, we would need to pad after every entity.




More information about the llvm-commits mailing list