[lld] r285888 - [ELF] - Update after LLVM change (r285886)
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 01:42:52 PDT 2016
Author: grimar
Date: Thu Nov 3 03:42:52 2016
New Revision: 285888
URL: http://llvm.org/viewvc/llvm-project?rev=285888&view=rev
Log:
[ELF] - Update after LLVM change (r285886)
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=285888&r1=285887&r2=285888&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Thu Nov 3 03:42:52 2016
@@ -208,7 +208,7 @@ elf::ObjectFile<ELFT>::getShtGroupSignat
const ELFFile<ELFT> &Obj = this->ELFObj;
const Elf_Shdr *Symtab =
check(object::getSection<ELFT>(Sections, Sec.sh_link));
- const Elf_Sym *Sym = Obj.getSymbol(Symtab, Sec.sh_info);
+ const Elf_Sym *Sym = check(Obj.getSymbol(Symtab, Sec.sh_info));
StringRef Strtab = check(Obj.getStringTableForSymtab(*Symtab));
return check(Sym->getName(Strtab));
}
More information about the llvm-commits
mailing list