[PATCH] D25371: [ELF] - Fixed assertion fail when symbol table has invalid sh_info value.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 15:49:02 PDT 2016
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: ELF/Writer.cpp:368
+ if (!B->IsLocal)
+ fatal(getFilename(F) + ": invalid sh_info in symbol table");
auto *DR = dyn_cast<DefinedRegular<ELFT>>(B);
----------------
getFilename(F) + ": broken input file: getLocalSymbols returns a non-local symbol."
https://reviews.llvm.org/D25371
More information about the llvm-commits
mailing list