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

References

tools/lld/COFF/Chunks.cpp
  606     fatal("the section is too short: " + sectionName);
  609     fatal("invalid section: " + sectionName);
tools/lld/COFF/Driver.cpp
  283     fatal("could not get the buffer for the member defining symbol " +
  783     fatal("cannot create temporary file for import library " + path + ": " +
  934           fatal(toString(obj) + ": could not decode addrsig section: " + err);
  936           fatal(toString(obj) + ": invalid symbol index in addrsig section");
 1103       fatal("lib failed");
 1170       fatal("no input files");
 1289       fatal(Twine("unknown /machine argument: ") + arg->getValue());
 1342         fatal(Twine("invalid timestamp: ") + value +
 1498     fatal("/manifestinput: requires /manifest:embed");
 1688       fatal("subsystem must be defined");
 1704         fatal("entry point must be defined");
tools/lld/COFF/DriverUtils.cpp
   59       fatal("unable to find " + prog + " in PATH: " + ec.message());
   64       fatal("ExecuteAndWait failed: " +
   80     fatal("invalid number: " + s1);
   82     fatal("invalid number: " + s2);
   91     fatal("invalid number: " + s1);
   94     fatal("invalid number: " + s2);
  108       fatal("invalid argument to /guard: " + arg);
  131     fatal("unknown subsystem: " + sysStr);
  142     fatal("/alternatename: invalid argument: " + s);
  145     fatal("/alternatename: conflicts: " + s);
  155     fatal("/merge: invalid argument: " + s);
  157     fatal("/merge: cannot merge '.rsrc' with any section");
  159     fatal("/merge: cannot merge '.reloc' with any section");
  195       fatal("/section: invalid argument: " + s);
  206     fatal("/section: invalid argument: " + s);
  255     fatal("invalid option " + arg);
  261     fatal("invalid option " + arg);
  264     fatal("invalid option " + arg);
  288     fatal("invalid option " + arg);
  320       fatal("cannot create a temporary file: " + ec.message());
  327         fatal("failed to open " + path + ": " + ec.message());
  340       fatal("failed to remove " + path);
  395     fatal("internal manifest tool failed on default xml: " +
  402       fatal("internal manifest tool failed on file " + filename + ": " +
  415     fatal("failed to open " + Default.path + ": " + ec.message());
  516     fatal("failed to create manifest: " + ec.message());
  584   fatal("invalid /export: " + arg);
  628       fatal("duplicate export ordinal: " + e.name);
  688     fatal("/failifmismatch: invalid argument: " + arg);
  694     fatal("/failifmismatch: mismatch detected for '" + k + "':\n>>> " +
  712       fatal("cannot compile non-resource file as resource");
  715       fatal(toString(std::move(ec)));
  724       fatal(toString(f) + ": " + toString(std::move(ec)));
  727       fatal(toString(std::move(ec)));
  743     fatal("failed to write .res to COFF: " + toString(e.takeError()));
  842     fatal(Twine(args.getArgString(missingIndex)) + ": missing argument");
  882     fatal(Twine(args.getArgString(missingIndex)) + ": missing argument");
tools/lld/COFF/InputFiles.cpp
  136     fatal(file->getFileName() +
  192     fatal(toString(this) + " is not a COFF file");
  205     fatal("getSection failed: #" + Twine(i) + ": " + ec.message());
  239     fatal("getSectionName failed: #" + Twine(sectionNumber) + ": " +
  611     fatal(toString(this) + ": " + getName() +
  615     fatal(toString(this) + ": " + getName() +
  646       fatal("unknown comdat type " + std::to_string((int)def->Selection) +
  835     fatal("broken import library");
tools/lld/COFF/MapFile.cpp
   97     fatal("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/COFF/MinGW.cpp
  154     fatal("cannot open " + name + ": " + ec.message());
tools/lld/COFF/PDB.cpp
  331       fatal("type hashing error");
  348       fatal("No signature found for the precompiled headers OBJ (" +
  358         fatal(
  407       fatal("codeview::mergeTypeAndIdRecords failed: " +
  413       fatal("codeview::mergeTypeAndIdRecords failed: " +
  437     fatal("Type server does not have TPI stream: " + toString(std::move(e)));
  442       fatal("Error getting type server IPI stream: " + toString(std::move(e)));
  458       fatal("codeview::mergeTypeRecords failed: " + toString(std::move(err)));
  467         fatal("codeview::mergeIdRecords failed: " + toString(std::move(err)));
  473       fatal("codeview::mergeTypeRecords failed: " + toString(std::move(err)));
  479         fatal("codeview::mergeIdRecords failed: " + toString(std::move(err)));
  592       fatal("symbol record too short");
 1116       fatal(".debug$S sections with a checksums subsection must also contain a "
tools/lld/COFF/Writer.cpp
  558       fatal("adding thunks hasn't converged after " + Twine(pass) + " passes");
  604     fatal("image size (" + Twine(fileSize) + ") " +
  631     fatal("failed to write the output file: " + toString(std::move(e)));
  972       fatal(toString(*file->impSym) + " was replaced");
  976         fatal("cannot delay-load " + toString(file) +
  997       fatal(toString(*file->thunkSym) + " was replaced");
 1192         fatal("/merge: cycle found for section '" + p.first + "'");
 1421         fatal("_load_config_used is malformed");
 1427         fatal("_load_config_used is too large");
tools/lld/ELF/Driver.cpp
  178     fatal(mb.getBufferIdentifier() + ": Archive::children failed: " +
 1498           fatal(toString(f) + ": could not decode addrsig section: " + err);
 1552     fatal("may not have more than 254 partitions");
tools/lld/ELF/EhFrame.cpp
   44     fatal("corrupted .eh_frame: " + msg + "\n>>> defined in " +
tools/lld/ELF/InputFiles.cpp
   73       fatal(filename + ": " + msg);
   75       fatal(archiveName + "(" + filename + "): " + msg);
  358     fatal(toString(this) + ": invalid sh_info in symbol table");
  401     fatal(toString(this) + ": invalid symbol index");
  450     fatal(toString(this) + ":(" + name + "): SHF_MERGE section size (" +
  458     fatal(toString(this) + ":(" + name +
  547         fatal(toString(this) + ": empty SHT_GROUP");
  557         fatal(toString(this) + ": unsupported SHT_GROUP format");
  572           fatal(toString(this) +
  603       fatal(toString(this) + ": invalid sh_link index: " + Twine(sec.sh_link));
  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");
  866       fatal(toString(this) +
 1000       fatal(toString(this) + ": invalid section index: " + Twine(secIdx));
 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));
 1208         fatal(toString(this) + ": invalid DT_NEEDED entry");
 1213         fatal(toString(this) + ": invalid DT_SONAME entry");
tools/lld/ELF/InputFiles.h
  212       fatal(toString(this) + ": invalid symbol index");
tools/lld/ELF/InputSection.cpp
   78     fatal(toString(this) + ": sh_addralign is not a power of 2");
  133     fatal(toString(&file) + ": section sh_addralign is too large");
  154     fatal(toString(this) +
  560     fatal("SBREL relocation to " + sym.getName() + " without static base");
 1126       fatal(toString(this) +
 1235       fatal(toString(this) + ": string is not null terminated");
 1285     fatal(toString(this) + ": offset is outside the section");
tools/lld/ELF/OutputSections.cpp
  276     fatal("compress failed: " + llvm::toString(std::move(e)));
tools/lld/ELF/Relocations.cpp
  562     fatal("cannot create a copy relocation for symbol " + toString(ss));
  916       fatal(".eh_frame: relocation is not in any piece");
 1601       fatal("InputSection too large for range extension thunk " +
tools/lld/ELF/Symbols.cpp
  119         fatal(toString(d.file) +
tools/lld/ELF/SyntheticSections.cpp
  201         fatal(filename + ": zero option descriptor size");
  419       fatal(toString(sec) + ": invalid CIE reference");
  518         fatal(toString(fde->sec) + ": PC offset is too large: 0x" +
  555   fatal("unknown FDE size encoding");
  570   fatal("unknown FDE size relative encoding");
tools/lld/ELF/Thunks.cpp
  804     fatal("unrecognized relocation type");
  826   fatal("relocation " + toString(reloc) + " to " + toString(s) +
  844   fatal("relocation " + toString(reloc) + " to " + toString(s) +
  887   fatal("unrecognized relocation type");
tools/lld/ELF/Writer.cpp
  684         fatal(toString(f) +
tools/lld/include/lld/Common/ErrorHandler.h
  132     fatal(ec.message());
  138     fatal(llvm::toString(e.takeError()));
  145     fatal(prefix() + ": " + ec.message());
  152     fatal(prefix() + ": " + toString(e.takeError()));
tools/lld/wasm/Driver.cpp
  208     fatal(mb.getBufferIdentifier() +
tools/lld/wasm/InputFiles.cpp
   77   fatal("unknown file type: " + mb.getBufferIdentifier());
  255     fatal(toString(this) + ": not a wasm file");
  257     fatal(toString(this) + ": not a relocatable wasm file");
  269       fatal(toString(this) + ": invalid table elements");
tools/lld/wasm/OutputSections.cpp
   65     fatal("invalid section type");
tools/lld/wasm/Writer.cpp
 1072     fatal("failed to write the output file: " + toString(std::move(e)));
tools/lld/wasm/WriterUtils.cpp
  148     fatal("unknown opcode in init expr: " + Twine(initExpr.Opcode));
  206     fatal("unsupported import type: " + Twine(import.Kind));
  227     fatal("unsupported export type: " + Twine(export_.Kind));