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

Declarations

tools/lld/ELF/InputFiles.h
   37 std::string toString(const elf::InputFile *f);

References

tools/lld/ELF/ARMErrataFix.cpp
  284           warn(toString(isec->file) +
tools/lld/ELF/Arch/AMDGPU.cpp
   55     error("incompatible e_flags: " + toString(f));
tools/lld/ELF/Arch/MipsArchTree.cpp
   75       error(toString(f.file) + ": microMIPS 64-bit is not supported");
   79       error(toString(f.file) + ": ABI '" + getAbiName(abi2) +
   84       error(toString(f.file) + ": -mnan=" + getNanName(nan2) +
   89       error(toString(f.file) + ": -mfp" + getFpName(fp2) +
  109       warn(toString(f.file) +
  111            toString(files[0].file));
  113       warn(toString(f.file) +
  115            toString(files[0].file));
  287       error("incompatible target ISA:\n>>> " + toString(files[0].file) + ": " +
  288             getFullArchName(ret) + "\n>>> " + toString(f.file) + ": " +
tools/lld/ELF/Arch/PPC64.cpp
  355       error(toString(f) + ": ABI version 1 is not supported");
  357       error(toString(f) + ": unrecognized e_flags: " + Twine(flag));
tools/lld/ELF/Arch/RISCV.cpp
  119       error(toString(f) +
  123       error(toString(f) +
tools/lld/ELF/Driver.cpp
 1498           fatal(toString(f) + ": could not decode addrsig section: " + err);
 1537     error(toString(s->file) +
 1540     error(toString(s->file) +
 1543     error(toString(s->file) + ": partitions cannot be used with "
 1546     error(toString(s->file) + ": partitions cannot be used on this target");
 1681       warn(toString(f) + ": --force-bti: file does not have BTI property");
 1684       error(toString(f) + ": --require-cet: file is not compatible with CET");
tools/lld/ELF/InputFiles.cpp
  141     error(toString(file) + " is incompatible with " + config->emulation);
  153   error(toString(file) + " is incompatible with " + toString(existing));
  153   error(toString(file) + " is incompatible with " + toString(existing));
  182     message(toString(file));
  342   ArrayRef<Elf_Shdr> sections = CHECK(obj.sections(), this);
  356   ArrayRef<Elf_Sym> eSyms = CHECK(obj.symbols(symtabSec), this);
  358     fatal(toString(this) + ": invalid sh_info in symbol table");
  362   stringTable = CHECK(obj.getStringTableForSymtab(*symtabSec, sections), this);
  367   return CHECK(
  401     fatal(toString(this) + ": invalid symbol index");
  403   StringRef signature = CHECK(sym.getName(this->stringTable), this);
  450     fatal(toString(this) + ":(" + name + "): SHF_MERGE section size (" +
  458     fatal(toString(this) + ":(" + name +
  474   ArrayRef<Elf_Shdr> sections = CHECK(this->getObj().sections(), this);
  494     error(toString(f) +
  503   ArrayRef<Elf_Shdr> objSections = CHECK(obj.sections(), this);
  507       CHECK(obj.getSectionStringTable(objSections), this);
  530           warn(toString(this) + ": --icf=safe is incompatible with object "
  545           CHECK(obj.template getSectionContentsAsArray<Elf_Word>(&sec), this);
  547         fatal(toString(this) + ": empty SHT_GROUP");
  557         fatal(toString(this) + ": unsupported SHT_GROUP format");
  572           fatal(toString(this) +
  579       shndxTable = CHECK(obj.getSHNDXTable(sec, objSections), this);
  603       fatal(toString(this) + ": invalid sh_link index: " + Twine(sec.sh_link));
  644     error(toString(f) + ": unknown Tag_ABI_VFP_args value: " + Twine(vfpArgs));
  649     error(toString(f) + ": incompatible Tag_ABI_VFP_args");
  717       fatal(toString(obj) + ": .note.gnu.property: section too short");
  721       fatal(toString(obj) + ": .note.gnu.property: section too short");
  737         fatal(toString(obj) + ": .note.gnu.property: section too short");
  768     fatal(toString(this) + ": invalid relocated section index: " + Twine(idx));
  778     fatal(toString(this) + ": unsupported relocation reference");
  816         CHECK(this->getObj().template getSectionContentsAsArray<char>(&sec), this);
  818       error(toString(this) +
  866       fatal(toString(this) +
  870       ArrayRef<Elf_Rela> rels = CHECK(getObj().relas(&sec), this);
  875       ArrayRef<Elf_Rel> rels = CHECK(getObj().rels(&sec), this);
  977   return CHECK(getObj().getSectionName(&sec, sectionStringTable), this);
  991           symtab->insert(CHECK(eSyms[i].getName(this->stringTable), this));
 1000       fatal(toString(this) + ": invalid section index: " + Twine(secIdx));
 1015         sourceFile = CHECK(eSym.getName(this->stringTable), this);
 1018         fatal(toString(this) + ": invalid symbol name offset");
 1041         fatal(toString(this) + ": common symbol '" + StringRef(name.data) +
 1067     fatal(toString(this) + ": unexpected binding: " + Twine((int)binding));
 1083       CHECK(sym.getMember(), toString(this) +
 1092             toString(this) +
 1097     tar->append(relativeToRoot(CHECK(c.getFullName(), this)), mb.getBuffer());
 1175   ArrayRef<Elf_Shdr> sections = CHECK(obj.sections(), this);
 1187           CHECK(obj.template getSectionContentsAsArray<Elf_Dyn>(&sec), this);
 1208         fatal(toString(this) + ": invalid DT_NEEDED entry");
 1213         fatal(toString(this) + ": invalid DT_SONAME entry");
 1242         CHECK(obj.template getSectionContentsAsArray<Elf_Versym>(versymSec),
 1263     StringRef name = CHECK(sym.getName(this->stringTable), this);
 1266            "' in global part of symbol table in file " + toString(this));
 1300             toString(this));
 1380   obj = CHECK(lto::InputFile::create(mbref), this);
 1507         CHECK(lto::InputFile::create(this->mb), this);
 1523   ArrayRef<typename ELFT::Shdr> sections = CHECK(obj.sections(), this);
 1530     ArrayRef<Elf_Sym> eSyms = CHECK(obj.symbols(&sec), this);
 1532     StringRef strtab = CHECK(obj.getStringTableForSymtab(sec, sections), this);
 1538         this->symbols[i] = symtab->insert(CHECK(eSyms[i].getName(strtab), this));
tools/lld/ELF/InputFiles.h
  212       fatal(toString(this) + ": invalid symbol index");
tools/lld/ELF/InputSection.cpp
   43   return (toString(sec->file) + ":(" + sec->name + ")").str();
   87       error(toString(file) + ": contains a compressed section, " +
  133     fatal(toString(&file) + ": section sh_addralign is too large");
  312     srcFile = toString(file);
  449               CHECK(file->getObj().sections(), file)[secIdx];
  451                CHECK(file->getObj().getSectionName(&sec), file) +
tools/lld/ELF/MapFile.cpp
  136     os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x"
  255     print(toString(*sym), toString(sym->file));
  258         print("", toString(file));
tools/lld/ELF/Relocations.cpp
   84     msg += toString(sym.file);
  658       CHECK(file->getObj().sections(), file);
  663     msg += CHECK(
  669   msg += "\n>>> defined in " + toString(file);
  680            "\n>>> prevailing definition is in " + toString(prevailing);
  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 " +
  312   message(toString(sym->file) + s + sym->getName());
  331   auto report = [&](StringRef s) { warn(toString(file) + s + sym->getName()); };
  483            toString(other.file) + " refers to " + toString(file));
  483            toString(other.file) + " refers to " + toString(file));
  573           toString(sym->file) + "\n>>> defined in " + toString(newFile));
  573           toString(sym->file) + "\n>>> defined in " + toString(newFile));
tools/lld/ELF/Symbols.h
  532           toString(newSym.file) + "\n>>> defined in " + toString(file));
  532           toString(newSym.file) + "\n>>> defined in " + toString(file));
tools/lld/ELF/SyntheticSections.cpp
  112     std::string filename = toString(sec->file);
  184     std::string filename = toString(sec->file);
  242       error(toString(sec->file) + ": invalid size of .reginfo section");
 3481         error("incompatible ABI version: " + toString(file));
tools/lld/ELF/Writer.cpp
  257       error(toString(s->file) + " cannot redefine linker defined symbol '" +
  684         fatal(toString(f) +
 1776             error(toString(f) + ": undefined reference to " + toString(*sym));