[lld] r285911 - Update for llvm change.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 06:58:26 PDT 2016
Author: rafael
Date: Thu Nov 3 08:58:26 2016
New Revision: 285911
URL: http://llvm.org/viewvc/llvm-project?rev=285911&view=rev
Log:
Update for llvm change.
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=285911&r1=285910&r2=285911&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Thu Nov 3 08:58:26 2016
@@ -144,7 +144,7 @@ template <class ELFT>
uint32_t ELFFileBase<ELFT>::getSectionIndex(const Elf_Sym &Sym) const {
uint32_t I = Sym.st_shndx;
if (I == ELF::SHN_XINDEX)
- return ELFObj.getExtendedSymbolTableIndex(&Sym, Symtab, SymtabSHNDX);
+ return check(ELFObj.getExtendedSymbolTableIndex(&Sym, Symtab, SymtabSHNDX));
if (I >= ELF::SHN_LORESERVE)
return 0;
return I;
More information about the llvm-commits
mailing list