[lld] 07522e4 - [ELF] Fix a comment. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 17:18:11 PST 2019


Author: Fangrui Song
Date: 2019-12-17T17:17:33-08:00
New Revision: 07522e4e2383788a64f36b1b9daa8c85f6a3f8b5

URL: https://github.com/llvm/llvm-project/commit/07522e4e2383788a64f36b1b9daa8c85f6a3f8b5
DIFF: https://github.com/llvm/llvm-project/commit/07522e4e2383788a64f36b1b9daa8c85f6a3f8b5.diff

LOG: [ELF] Fix a comment. NFC

Added: 
    

Modified: 
    lld/ELF/SyntheticSections.h

Removed: 
    


################################################################################
diff  --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
index 83446ce45e65..ccc3f0a32ce5 100644
--- a/lld/ELF/SyntheticSections.h
+++ b/lld/ELF/SyntheticSections.h
@@ -682,7 +682,7 @@ class PltSection : public SyntheticSection {
 
 // Used for non-preemptible ifuncs. It does not have a header. Each entry is
 // associated with an IRELATIVE relocation, which will be resolved eagerly at
-// runtime. PltSection cannot can only contain entries associated with JUMP_SLOT
+// runtime. PltSection can only contain entries associated with JUMP_SLOT
 // relocations, so IPLT entries are in a separate section.
 class IpltSection final : public SyntheticSection {
   std::vector<const Symbol *> entries;


        


More information about the llvm-commits mailing list