[lld] r270451 - Fix typos.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon May 23 09:36:48 PDT 2016


Author: ruiu
Date: Mon May 23 11:36:47 2016
New Revision: 270451

URL: http://llvm.org/viewvc/llvm-project?rev=270451&view=rev
Log:
Fix typos.

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=270451&r1=270450&r2=270451&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Mon May 23 11:36:47 2016
@@ -1179,7 +1179,7 @@ template <class ELFT> static uint64_t re
 template <class ELFT>
 typename ELFT::uint EhOutputSection<ELFT>::getFdePc(uint8_t *Buf, size_t FdeOff,
                                                     uint8_t Enc) {
-  // The starting address to which this FDE applies to is
+  // The starting address to which this FDE applies is
   // stored at FDE + 8 byte.
   size_t Off = FdeOff + 8;
   uint64_t Addr = readFdeAddr<ELFT>(Buf + Off, Enc & 0x7);
@@ -1210,7 +1210,7 @@ template <class ELFT> void EhOutputSecti
     S->relocate(Buf, nullptr);
 
   // Construct .eh_frame_hdr. .eh_frame_hdr is a binary search table
-  // to get a FDE from an address to which FDE is applied to. So here
+  // to get a FDE from an address to which FDE is applied. So here
   // we obtain two addresses and pass them to EhFrameHdr object.
   if (Out<ELFT>::EhFrameHdr) {
     for (CieRecord *Cie : Cies) {




More information about the llvm-commits mailing list