[PATCH] D28956: [LLD][ELF] Add support for local symbols in Synthetic Sections
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 09:33:25 PST 2017
grimar added inline comments.
================
Comment at: ELF/SyntheticSections.cpp:1152
+ SymbolBody *Body = S.Symbol;
+ auto DR = dyn_cast<DefinedRegular<ELFT>>(Body);
+ auto *ESym = reinterpret_cast<Elf_Sym *>(Buf);
----------------
cast<DefinedRegular<ELFT>> instead ?
https://reviews.llvm.org/D28956
More information about the llvm-commits
mailing list