[lld] r255646 - Fixed mistype in comment. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 06:21:03 PST 2015


Author: grimar
Date: Tue Dec 15 08:20:57 2015
New Revision: 255646

URL: http://llvm.org/viewvc/llvm-project?rev=255646&view=rev
Log:
Fixed mistype in 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=255646&r1=255645&r2=255646&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Tue Dec 15 08:20:57 2015
@@ -1023,7 +1023,7 @@ template <class ELFT> void EHOutputSecti
 
     for (const EHRegion<ELFT> &F : C.Fdes) {
       StringRef FdeData = F.data();
-      memcpy(Buf + Offset, FdeData.data(), 4);              // Legnth
+      memcpy(Buf + Offset, FdeData.data(), 4);              // Length
       write32<E>(Buf + Offset + 4, Offset + 4 - CieOffset); // Pointer
       memcpy(Buf + Offset + 8, FdeData.data() + 8, FdeData.size() - 8);
       F.S->Offsets[F.Index].second = Offset;




More information about the llvm-commits mailing list