[ELF] - Simplify. NFC.

llvm-svn: 332242
This commit is contained in:
George Rimar 2018-05-14 13:21:09 +00:00
parent bb95dea8e7
commit 8f2b2f4e04
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ void ObjFile<ELFT>::initializeSections(
DenseSet<CachedHashStringRef> &ComdatGroups) {
const ELFFile<ELFT> &Obj = this->getObj();
ArrayRef<Elf_Shdr> ObjSections = CHECK(this->getObj().sections(), this);
ArrayRef<Elf_Shdr> ObjSections = CHECK(Obj.sections(), this);
uint64_t Size = ObjSections.size();
this->Sections.resize(Size);
this->SectionStringTable =