[lld] r261214 - Fixed comments formatting. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 07:17:02 PST 2016


Author: grimar
Date: Thu Feb 18 09:17:01 2016
New Revision: 261214

URL: http://llvm.org/viewvc/llvm-project?rev=261214&view=rev
Log:
Fixed comments formatting. NFC.

Modified:
    lld/trunk/ELF/InputSection.cpp
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/InputSection.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.cpp?rev=261214&r1=261213&r2=261214&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.cpp (original)
+++ lld/trunk/ELF/InputSection.cpp Thu Feb 18 09:17:01 2016
@@ -273,7 +273,7 @@ EHInputSection<ELFT>::EHInputSection(Obj
     : SplitInputSection<ELFT>(F, Header, InputSectionBase<ELFT>::EHFrame) {
   // Mark .eh_frame sections as live by default because there are
   // usually no relocations that point to .eh_frames. Otherwise,
- // the garbage collector would drop all .eh_frame sections.
+  // the garbage collector would drop all .eh_frame sections.
   this->Live = true;
 }
 

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=261214&r1=261213&r2=261214&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Thu Feb 18 09:17:01 2016
@@ -315,7 +315,7 @@ static uint32_t hashSysv(StringRef Name)
 template <class ELFT> void HashTableSection<ELFT>::finalize() {
   this->Header.sh_link = Out<ELFT>::DynSymTab->SectionIndex;
 
-  unsigned NumEntries = 2;                 // nbucket and nchain.
+  unsigned NumEntries = 2;                             // nbucket and nchain.
   NumEntries += Out<ELFT>::DynSymTab->getNumSymbols(); // The chain entries.
 
   // Create as many buckets as there are symbols.




More information about the llvm-commits mailing list