reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/Driver.cpp
 1352           if (!sym->isLocal() && sym->file == file)
 1403     mb = lo->file->mb;
 1422     bss->file = s->file;
 1425     s->replace(Defined{s->file, s->getName(), s->binding, s->stOther, s->type,
tools/lld/ELF/LTO.cpp
  180     r.Prevailing = !objSym.isUndefined() && sym->file == &f;
  199         !(dr->section == nullptr && (!sym->file || sym->file->isElf()));
  199         !(dr->section == nullptr && (!sym->file || sym->file->isElf()));
tools/lld/ELF/MapFile.cpp
   60             (dr->file == file || dr->needsPltAddr || dr->section->bss))
  255     print(toString(*sym), toString(sym->file));
  257       if (file != sym->file)
tools/lld/ELF/Relocations.cpp
   83   if (sym.file)
   84     msg += toString(sym.file);
  505   sym.replace(Defined{sym.file, sym.getName(), sym.binding, sym.stOther,
  653   auto *file = dyn_cast_or_null<ObjFile<ELFT>>(sym.file);
  705   if (sym.file && !isa<SharedFile>(sym.file)) {
  705   if (sym.file && !isa<SharedFile>(sym.file)) {
  706     for (const Symbol *s : sym.file->getSymbols())
  811       if (corrected->file)
  812         msg += "\n>>> defined in: " + toString(corrected->file);
tools/lld/ELF/Symbols.cpp
  119         fatal(toString(d.file) +
  245     error(toString(file) + ": symbol " + s + " has undefined version " +
  251     cast<ArchiveFile>(sym->file)->fetch(sym->sym);
  256     dyn_cast<LazyObjFile>(sym->file)->fetch();
  312   message(toString(sym->file) + s + sym->getName());
  328   const InputFile *file = sym->file;
  475     bool backref = config->warnBackrefs && other.file &&
  476                    file->groupId < other.file->groupId;
  476                    file->groupId < other.file->groupId;
  483            toString(other.file) + " refers to " + toString(file));
  483            toString(other.file) + " refers to " + toString(file));
  488   if (dyn_cast_or_null<SharedFile>(other.file))
  555   if (dyn_cast_or_null<BitcodeFile>(other->file))
  573           toString(sym->file) + "\n>>> defined in " + toString(newFile));
  614     oldSym->file = other.file;
  614     oldSym->file = other.file;
  624     reportDuplicate(this, other.file,
tools/lld/ELF/Symbols.h
  377   SharedFile &getFile() const { return *cast<SharedFile>(file); }
  532           toString(newSym.file) + "\n>>> defined in " + toString(file));
  532           toString(newSym.file) + "\n>>> defined in " + toString(file));
tools/lld/ELF/SyntheticSections.cpp
 2046     arr[s.sym->file].push_back(s);
 2943   auto &file = cast<SharedFile>(*ss->file);
tools/lld/ELF/Writer.cpp
  257       error(toString(s->file) + " cannot redefine linker defined symbol '" +
 1774         if (auto *f = dyn_cast_or_null<SharedFile>(sym->file))
 1790       if (auto *file = dyn_cast_or_null<SharedFile>(sym->file))