Lines Matching refs:sym
191 for (Symbol *sym : symtab->symbols()) {
192 StringRef s = sym->getName();
214 Symbol *sym = syms[i];
223 r.Prevailing = !objSym.isUndefined() && sym->file == &f;
231 r.VisibleToRegularObj = config->relocatable || sym->isUsedInRegularObj ||
232 (r.Prevailing && sym->includeInDynsym()) ||
234 const auto *dr = dyn_cast<Defined>(sym);
236 (isExec || sym->visibility != STV_DEFAULT) && dr &&
242 !(dr->section == nullptr && (!sym->file || sym->file->isElf()));
245 sym->replace(Undefined{nullptr, sym->getName(), STB_GLOBAL, STV_DEFAULT,
246 sym->type});
251 r.LinkerRedefined = !sym->canInline;