[lld] r327280 - [ELF] - Formatted comment, fixed mistype. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 08:18:35 PDT 2018


Author: grimar
Date: Mon Mar 12 08:18:35 2018
New Revision: 327280

URL: http://llvm.org/viewvc/llvm-project?rev=327280&view=rev
Log:
[ELF] - Formatted comment, fixed mistype. NFC.

Modified:
    lld/trunk/ELF/InputFiles.cpp

Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=327280&r1=327279&r2=327280&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Mon Mar 12 08:18:35 2018
@@ -213,8 +213,7 @@ Optional<DILineInfo> ObjFile<ELFT>::getD
   return Info;
 }
 
-// Returns source line information for a given offset
-// using DWARF debug info.
+// Returns source line information for a given offset using DWARF debug info.
 template <class ELFT>
 std::string ObjFile<ELFT>::getLineInfo(InputSectionBase *S, uint64_t Offset) {
   if (Optional<DILineInfo> Info = getDILineInfo(S, Offset))
@@ -308,7 +307,7 @@ StringRef ObjFile<ELFT>::getShtGroupSign
   // we use a section name as a signature.
   //
   // Such SHT_GROUP sections are invalid from the perspective of the ELF
-  // standard, but GNU gold 1.14 (the neweset version as of July 2017) or
+  // standard, but GNU gold 1.14 (the newest version as of July 2017) or
   // older produce such sections as outputs for the -r option, so we need
   // a bug-compatibility.
   if (Signature.empty() && Sym->getType() == STT_SECTION)




More information about the llvm-commits mailing list