[PATCH] D47404: llvm-objcopy: Set sh_link to 0 on unrecognized symtab-linked sections.
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 25 23:59:17 PDT 2018
alexshap accepted this revision.
alexshap added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/tools/llvm-objcopy/Object.cpp:399
if (LinkSection)
this->Link = LinkSection->Index;
+ else
----------------
nit:
this->Link = LinkSection ? LinkSection->Index : 0;
https://reviews.llvm.org/D47404
More information about the llvm-commits
mailing list