[lld] 07255f8 - comment typo fix to cycle bots

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 04:54:25 PDT 2019


Author: Nico Weber
Date: 2019-10-31T07:54:16-04:00
New Revision: 07255f81fa6798fcfe5d2e72656fc3fb8fc9416a

URL: https://github.com/llvm/llvm-project/commit/07255f81fa6798fcfe5d2e72656fc3fb8fc9416a
DIFF: https://github.com/llvm/llvm-project/commit/07255f81fa6798fcfe5d2e72656fc3fb8fc9416a.diff

LOG: comment typo fix to cycle bots

Added: 
    

Modified: 
    lld/ELF/InputSection.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 7a10eb4b38d2..959dcb8533d6 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -825,7 +825,7 @@ static uint64_t getRelocTargetVA(const InputFile *file, RelType type, int64_t a,
 // Such sections are never mapped to memory at runtime. Debug sections are
 // an example. Relocations in non-alloc sections are much easier to
 // handle than in allocated sections because it will never need complex
-// treatement such as GOT or PLT (because at runtime no one refers them).
+// treatment such as GOT or PLT (because at runtime no one refers them).
 // So, we handle relocations for non-alloc sections directly in this
 // function as a performance optimization.
 template <class ELFT, class RelTy>


        


More information about the llvm-commits mailing list