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

llvm-svn: 327280
This commit is contained in:
George Rimar 2018-03-12 15:18:35 +00:00
parent 5b39f7cfef
commit 59ebd4adf0
1 changed files with 2 additions and 3 deletions

View File

@ -213,8 +213,7 @@ Optional<DILineInfo> ObjFile<ELFT>::getDILineInfo(InputSectionBase *S,
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>::getShtGroupSignature(ArrayRef<Elf_Shdr> Sections,
// 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)