ruiu added inline comments. ================ Comment at: ELF/Writer.cpp:1055 SymbolOrderEntry &Ent = It->second; + if (Ent.Present && !Sym->isLocal()) + continue; ---------------- This is perhaps better? if (File != Sym->File) https://reviews.llvm.org/D45197