|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/lld/COFF/Chunks.cpp 74 error("SECREL relocation cannot be applied to absolute symbols");
84 error("overflow in SECREL relocation in section: " + sec->getSectionName());
115 error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
130 error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
143 error("unexpected instruction in " + Twine(movt ? "MOVT" : "MOVW") +
147 error("unexpected instruction in " + Twine(movt ? "MOVT" : "MOVW") +
164 error("relocation out of range");
174 error("relocation out of range");
200 error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
245 error("misaligned ldr/str offset");
261 error("overflow in SECREL_HIGH12A relocation in section: " +
276 error("relocation out of range");
282 error("relocation out of range");
288 error("relocation out of range");
312 error("unsupported relocation type 0x" + Twine::utohexstr(type) + " in " +
347 error(os.str());
368 error("relocation points beyond the end of its parent section");
558 error("unable to automatically import from " + target->getName() +
tools/lld/COFF/Driver.cpp 101 error(arg->getSpelling() + " expects 'old;new' format, but got " + s);
213 error(filename + ": is not a native COFF file. Recompile without /GL");
217 error(filename + ": bad file type. Did you specify a DLL instead of an "
223 error(mbref.getBufferIdentifier() + ": unknown file type");
244 error(msg);
246 error(msg + "; did you mean '" + nearest + "'");
269 error("unknown file type: " + mb.getBufferIdentifier());
399 error(arg->getSpelling() + " is not allowed in .drectve");
659 error("/debug: unknown option: " + Twine(a->getValue()));
759 [](ErrorInfoBase &eib) { error(eib.message()); });
875 error("malformed /order option: '@' missing");
1014 error((!resources.empty() ? "internal .obj file created from .res files"
1123 error(arg->getSpelling() + " number expected, but got " + s);
1161 error("/linkrepro: failed to open " + *path + ": " +
1250 error("/noentry must be specified with /dll");
1274 error("/fixed must not be specified with /dynamicbase");
1308 error("/filealign: not a power of two: " + Twine(config->fileAlign));
1387 error("/opt:lldlto: invalid optimization level: " + optLevel);
1392 error("/opt:lldltojobs: invalid job count: " + jobs);
1397 error("/opt:lldltopartitions: invalid partition count: " + n);
1399 error("/opt: unknown option: " + s);
1462 error("/align: not a power of two: " + StringRef(arg->getValue()));
1583 error("stray " + arg->getSpelling());
1588 error("nested " + arg->getSpelling());
1654 error("/dynamicbase:no is not compatible with " +
1728 error("cannot open output file " + config->outputFile + ": " + e.message());
tools/lld/COFF/DriverUtils.cpp 215 error("/aligncomm: invalid argument: " + s);
220 error("/aligncomm: invalid argument: " + s);
232 error("/functionpadmin: invalid argument: " + arg);
243 error("/functionpadmin: invalid argument for this machine: " + arg);
303 error("/swaprun: missing argument");
305 error("/swaprun: invalid argument: " + swaprun);
308 error("/swaprun: missing argument");
737 error(dupeDiag);
786 error("unknown option: --color-diagnostics=" + s);
794 error("invalid response file quoting: " + s);
tools/lld/COFF/InputFiles.cpp 320 error(toString(this) + ": associative comdat " + name + " (sec " +
tools/lld/COFF/LTO.cpp 51 error("cannot open " + file + ": " + ec.message());
tools/lld/COFF/SymbolTable.cpp 42 error(toString(file) + ": machine type " + machineToStr(mt) +
62 error(s);
583 error(os.str());
tools/lld/COFF/Writer.cpp 1248 error("section larger than 4 GiB: " + sec->name);
1474 error("/safeseh: " + file->getName() + " is not compatible with SEH");
tools/lld/Common/Args.cpp 40 error(spelling + ": number expected, but got '" + a->getValue() + "'");
58 error("invalid " + key + ": " + kv.second);
tools/lld/Common/ErrorHandler.cpp 73 error(s);
87 [&](ErrorInfoBase &eib) { error(eib.message()); });
tools/lld/Common/Strings.cpp 38 error(toString(pat.takeError()));
59 error("not a hexadecimal value: " + b);
79 error("cannot create " + path + ": " + ec.message());
tools/lld/ELF/Arch/AArch64.cpp 150 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
tools/lld/ELF/Arch/AMDGPU.cpp 55 error("incompatible e_flags: " + toString(f));
99 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
tools/lld/ELF/Arch/ARM.cpp 517 error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
tools/lld/ELF/Arch/AVR.cpp 70 error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
tools/lld/ELF/Arch/Hexagon.cpp 129 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
169 error("unrecognized instruction for R_HEX_6 relocation: 0x" +
198 error("unrecognized instruction for R_HEX_16_X relocation: 0x" +
tools/lld/ELF/Arch/MSP430.cpp 87 error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
tools/lld/ELF/Arch/Mips.cpp 183 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
462 error(getErrorLocation(loc) + "unsupported relocations combination " +
520 error(getErrorLocation(loc) +
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) +
287 error("incompatible target ISA:\n>>> " + toString(files[0].file) + ": " +
357 error(fileName + ": floating point ABI '" + getMipsFpAbiName(newFlag) +
tools/lld/ELF/Arch/PPC.cpp 238 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
426 error("unrecognized instruction for IE to LE R_PPC_TLS");
430 error("unrecognized instruction for IE to LE R_PPC_TLS");
tools/lld/ELF/Arch/PPC64.cpp 98 error("reserved value of 7 in the 3 most-significant-bits of st_other");
355 error(toString(f) + ": ABI version 1 is not supported");
357 error(toString(f) + ": unrecognized e_flags: " + Twine(flag));
373 error("expected a 'ld' for got-indirect to toc-relative relaxing");
522 error("unrecognized instruction for IE to LE R_PPC64_TLS");
526 error("unrecognized instruction for IE to LE R_PPC64_TLS");
631 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
836 error(getErrorLocation(loc) +
856 error(getErrorLocation(loc) +
1074 error(getErrorLocation(loc) + "split-stack prologue adjustment overflows");
tools/lld/ELF/Arch/RISCV.cpp 119 error(toString(f) +
123 error(toString(f) +
434 error(getErrorLocation(loc) +
tools/lld/ELF/Arch/SPARCV9.cpp 72 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
tools/lld/ELF/Arch/X86.cpp 153 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
tools/lld/ELF/Arch/X86_64.cpp 126 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
206 error(getErrorLocation(loc - 3) + "R_X86_64_GOTPC32_TLSDESC must be used "
246 error(getErrorLocation(loc - 3) + "R_X86_64_GOTPC32_TLSDESC must be used "
293 error(getErrorLocation(loc - 3) +
346 error(getErrorLocation(loc - 3) +
543 error("Target doesn't support split stacks.");
tools/lld/ELF/CallGraphSort.cpp 239 error("cannot open " + config->printSymbolOrder + ": " + ec.message());
tools/lld/ELF/Config.h 322 error(msg);
tools/lld/ELF/Driver.cpp 150 error("unknown emulation: " + emul);
227 error(path + ": archive has no index; run ranlib to add one");
243 error("attempted static link of dynamic object " + path);
268 error(path + ": unknown file type");
277 error("unable to find library -l" + name);
297 error("the .gnu.hash section is not compatible with the MIPS target");
300 error("--fix-cortex-a53-843419 is only supported on AArch64 targets");
303 error("--fix-cortex-a8 is only supported on ARM targets");
306 error("--toc-optimize is only supported on the PowerPC64 target");
309 error("-shared and -pie may not be used together");
312 error("-F may not be used without -shared");
315 error("-f may not be used without -shared");
318 error("-no-define-common not supported in non relocatable output");
321 error("--strip-all and --emit-relocs may not be used together");
324 error("-z text and -z ifunc-noplt may not be used together");
328 error("-r and -shared may not be used together");
330 error("-r and --gc-sections may not be used together");
332 error("-r and --gdb-index may not be used together");
334 error("-r and --icf may not be used together");
336 error("-r and -pie may not be used together");
338 error("-r and --export-dynamic may not be used together");
343 error("-execute-only is only supported on AArch64 targets");
346 error("-execute-only and -no-rosegment cannot be used together");
350 error("--require-cet may not be used with -z retpolineplt");
354 error("--pac-plt only supported on AArch64");
356 error("--force-bti only supported on AArch64");
417 error("unknown -z value: " + StringRef(arg->getValue()));
462 error("--reproduce: " + toString(errOrWriter.takeError()));
531 error("unknown --unresolved-symbols value: " + s);
560 error("unknown --target2 option: " + s);
569 error("unknown --oformat value: " + s);
622 error("invalid argument: " + arg.getAsString(args));
651 error("unknown --sort-section rule: " + s);
662 error("unknown --orphan-handling mode: " + s);
691 error("unknown --build-id style: " + s);
705 error("unknown -pack-dyn-relocs format: " + s);
736 error(mb.getBufferIdentifier() + ": parse error");
769 error("unknown --compress-debug-sections value: " + s);
771 error("--compress-debug-sections: zlib is not available");
790 error(getAliasSpelling(arg) + " expects 'old;new' format, but got " + s);
812 error(msg + ": " + StringRef(err).trim());
986 error("invalid optimization level for LTO: " + Twine(config->ltoo));
988 error("--lto-partitions: number of threads must be > 0");
990 error("--thinlto-jobs: number of threads must be > 0");
993 error("--split-stack-adjust-size: size must be >= 0");
1015 error("unknown -hash-style: " + s);
1034 error("--symbol-ordering-file and --call-graph-order-file "
1085 error(Twine("cannot find version script ") + arg->getValue());
1142 error("unknown -format value: " + s +
1165 error("-defsym: syntax error: " + StringRef(arg->getValue()));
1176 error(Twine("cannot find linker script ") + arg->getValue());
1209 error("nested --start-group");
1214 error("stray --end-group");
1220 error("nested --start-lib");
1222 error("may not nest --start-lib in --start-group");
1228 error("stray --end-lib");
1238 error("unbalanced --push-state/--pop-state");
1248 error("no input files");
1265 error("target emulation unknown: -m or at least one .o file required");
1274 error("max-page-size: value isn't a power of 2");
1289 error("common-page-size: value isn't a power of 2");
1312 error("-image-base: number expected, but got " + s);
1379 error("--undefined-glob: " + toString(pat.takeError()));
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");
1684 error(toString(f) + ": --require-cet: file is not compatible with CET");
1716 error("cannot open output file " + config->outputFile + ": " + e.message());
1718 error("cannot open map file " + config->mapFile + ": " + e.message());
tools/lld/ELF/DriverUtils.cpp 72 error("unknown option: --color-diagnostics=" + s);
80 error("invalid response file quoting: " + s);
133 error(Twine(args.getArgString(missingIndex)) + ": missing argument");
138 error("unknown argument '" + arg->getAsString(args) + "'");
140 error("unknown argument '" + arg->getAsString(args) +
tools/lld/ELF/InputFiles.cpp 113 error("cannot open " + path + ": " + ec.message());
141 error(toString(file) + " is incompatible with " + config->emulation);
153 error(toString(file) + " is incompatible with " + toString(existing));
494 error(toString(f) +
608 error("a section " + isec->name +
644 error(toString(f) + ": unknown Tag_ABI_VFP_args value: " + Twine(vfpArgs));
649 error(toString(f) + ": incompatible Tag_ABI_VFP_args");
818 error(toString(this) +
932 error("cannot mix split-stack and non-split-stack in a relocatable link");
1199 error("SHT_GNU_versym should be associated with symbol table");
1298 error("corrupt input file: version definition index " + Twine(idx) +
1353 error(path + ": could not infer e_machine from bitcode target triple " +
1517 error("incompatible file: " + this->mb.getBufferIdentifier());
tools/lld/ELF/InputSection.cpp 69 error(toString(this) + ": section too large");
87 error(toString(file) + ": contains a compressed section, " +
218 error(toString(this) + ": corrupted compressed section header");
224 error(toString(this) + ": corrupted compressed section header");
243 error(toString(this) + ": corrupted compressed section");
249 error(toString(this) + ": unsupported compression type");
261 error(toString(this) + ": corrupted compressed section");
267 error(toString(this) + ": unsupported compression type");
573 error("R_RISCV_PCREL_LO12 relocation points to an absolute symbol: " +
598 error("R_RISCV_PCREL_LO12 relocation points to " + isec->getObjMsg(d->value) +
861 error(msg);
975 error(getErrorLocation(bufLoc) + "call lacks nop, can't restore toc");
999 error("Mixing split-stack objects requires a definition of "
1084 error(toString(this) + ": " + f->getName() +
tools/lld/ELF/LTO.cpp 55 error("cannot open " + file + ": " + ec.message());
tools/lld/ELF/LinkerScript.cpp 108 error("section '" + secName + "' will not fit in region '" + regionName +
130 error(loc + ": unable to move location counter backward for: " +
271 error("unable to INSERT AFTER/BEFORE " + p.first +
446 error("discarding " + s->name + " section is not allowed");
682 error(toString(s) + " is being placed in '" + name + "'");
773 error("memory region '" + sec->memoryRegionName + "' not declared");
792 error("no memory region specified for section '" + sec->name + "'");
979 error("memory region '" + sec->lmaRegionName + "' not declared");
1060 error("could not allocate headers");
1166 error(loc + ": unable to get location counter value");
1178 error(loc + ": symbol not found: " + name);
1200 error(cmd->location + ": section header '" + s +
tools/lld/ELF/MapFile.cpp 149 error("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/ELF/OutputSections.cpp 119 error("incompatible section flags for " + name + "\n>>> " + toString(isec) +
125 error("section type mismatch for " + isec->name + "\n>>> " +
tools/lld/ELF/Relocations.cpp 423 error("relocation " + toString(type) + " cannot refer to absolute symbol: " +
822 error(msg);
1089 error("unresolvable relocation " + toString(type) +
tools/lld/ELF/ScriptLexer.cpp 82 error(s);
106 error(filename + ":" + Twine(lineno + 1) + ": unclosed quote");
147 error("unclosed comment in a linker script");
tools/lld/ELF/ScriptParser.cpp 146 error(a.loc + ": at least one side of the expression must be absolute");
772 error(loc + ": alignment must be power of 2");
859 error("section can't have both LMA and a load region");
965 error(loc + ": division by zero");
974 error(loc + ": modulo by zero");
1039 error(location + ": unable to calculate page size");
1117 error(location + ": undefined section " + cmd->name);
tools/lld/ELF/SymbolTable.cpp 182 error("version script assignment of '" + versionName + "' to symbol '" +
tools/lld/ELF/Symbols.cpp 245 error(toString(file) + ": symbol " + s + " has undefined version " +
572 error("duplicate symbol: " + toString(*sym) + "\n>>> defined in " +
597 error(msg);
tools/lld/ELF/Symbols.h 531 error("TLS attribute mismatch: " + toString(*this) + "\n>>> defined in " +
tools/lld/ELF/SyntheticSections.cpp 118 error(filename + ": invalid size of .MIPS.abiflags section: got " +
124 error(filename + ": unexpected .MIPS.abiflags version " +
189 error(filename + ": invalid size of .MIPS.options section");
242 error(toString(sec->file) + ": invalid size of .reginfo section");
2566 error(toString(sec) + ": " + toString(std::move(e)));
2571 error(toString(sec) + ": " + toString(ranges.takeError()));
3481 error("incompatible ABI version: " + toString(file));
tools/lld/ELF/Target.h 229 error(getErrorLocation(loc) + "improper alignment for relocation " +
tools/lld/ELF/Writer.cpp 257 error(toString(s->file) + " cannot redefine linker defined symbol '" +
620 error("failed to write to the output file: " + toString(std::move(e)));
1529 error(toString(isec) + ": sh_link points to discarded section " +
1562 error("thunk creation not converged");
1776 error(toString(f) + ": undefined reference to " + toString(*sym));
1961 error("cannot place " + toString(isec) + " into " + toString(os->name) +
2102 error("section: " + sec->name + " is not contiguous with other relro" +
2375 error("unable to place section " + sec->name + " at file offset " +
2589 error("output file too large: " + Twine(fileSize) + " bytes");
2601 error("failed to open " + config->outputFile + ": " +
2730 error("entropy source failure: " + ec.message());
tools/lld/MinGW/Driver.cpp 106 error(StringRef(args.getArgString(missingIndex)) + ": missing argument");
108 error("unknown argument: " + arg->getAsString(args));
128 error("unable to find library -l" + name);
145 error("lld doesn't support linking directly against " + *s +
150 error("lld doesn't support linking directly against " + *s +
156 error("unable to find library -l" + name);
192 error("no input files");
300 error("unknown parameter: --icf=" + s);
316 error("unknown parameter: -m" + s);
tools/lld/lib/Driver/DarwinLdDriver.cpp 325 error("missing arg value for '" +
369 error("unknown arch named '" + Twine(archStr->getValue()) + "'");
389 error("-arch not specified and could not be inferred");
406 error("malformed macosx_version_min value");
414 error("malformed ios_version_min value");
422 error("malformed ios_simulator_version_min value");
456 error("image_base expects a hex number");
459 error("image_base overlaps with __PAGEZERO");
462 error("image_base must be a multiple of page size (0x" +
492 error("-compatibility_version can only be used with -dylib");
497 error("-compatibility_version value is malformed");
505 error("-current_version can only be used with -dylib");
510 error("-current_version value is malformed");
529 error("-sectalign alignment value '" + Twine(alignStr) +
654 error("-exported_symbols_list cannot be combined with "
660 error(ec.message() + ", processing '-exported_symbols_list " +
669 error("-exported_symbol cannot be combined with "
680 error("-unexported_symbols_list cannot be combined with "
686 error(ec.message() + ", processing '-unexported_symbols_list " +
695 error("-unexported_symbol cannot be combined with "
715 error("-objc_gc_compaction is not supported");
720 error("-objc_gc is not supported");
725 error("-objc_gc_only is not supported");
737 error("-pie can only be used when targeting Mac OS X 10.5 or later");
744 error("-pie can only be used when targeting iOS 4.2 or later");
750 error("iOS simulator programs must be built PIE");
767 error(pie->getSpelling() +
923 error("malformed sdkVersion value");
942 error("malformed source_version value");
952 error("stack_size expects a hex number");
956 error("stack_size must be a multiple of page size (0x" +
971 error(ec.message() + ", processing '-order_file " + orderFile->getValue()
996 error("invalid option to -undefined [ warning | error | suppress | "
1011 error("can't use -undefined warning or suppress with "
1032 error("-rpath can only be used when targeting OS X 10.5 or later");
1034 error("-rpath can only be used when targeting iOS 2.0 or later");
1039 error("-rpath can only be used when creating a dynamic final linked "
1074 error("Unable to find library for " + arg->getSpelling() +
1088 error("Unable to find framework for " + arg->getSpelling() + " " +
1100 error(EI.message() + ", processing '-filelist " + arg->getValue());
1114 error("can't open -sectcreate file " + Twine(fileName));
1125 error("No input files");
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp 587 error("-current_version can only be used with dylibs");
592 error("-compatibility_version can only be used with dylibs");
597 error("-mark_dead_strippable_dylib can only be used with dylibs");
602 error("-bundle_loader can only be used with Mach-O bundles");
tools/lld/wasm/Driver.cpp 145 error("unknown option: --color-diagnostics=" + s);
171 error("unknown argument: " + arg->getAsString(args));
242 error(mbref.getBufferIdentifier() +
254 error("unknown file type: " + mbref.getBufferIdentifier());
267 error("unable to find library -l" + name);
377 error("-shared/-pie is incompatible with --export-table");
391 error("--compress-relocations is incompatible with output debug"
395 error("invalid optimization level for LTO: " + Twine(config->ltoo));
397 error("--lto-partitions: number of threads must be > 0");
399 error("--thinlto-jobs: number of threads must be > 0");
402 error("-shared and -pie may not be used together");
405 error("no output file specified");
408 error("--import-table and --export-table may not be used together");
412 error("entry point specified for relocatable output file");
414 error("-r and --gc-sections may not be used together");
416 error("-r -and --compress-relocations may not be used together");
418 error("-r -and --undefined may not be used together");
420 error("-r and -pie may not be used together");
673 error("--reproduce: " + toString(errOrWriter.takeError()));
694 error("no input files");
733 error("entry symbol not defined (pass --no-entry to supress): " +
766 error(Twine("symbol exported via --export not found: ") +
tools/lld/wasm/InputFiles.cpp 50 error("cannot open " + path + ": " + ec.message());
545 error(toString(mb.getBufferIdentifier()) + ": machine type must be wasm32");
tools/lld/wasm/Relocations.cpp 39 error(toString(sym->getFile()) + ": undefined symbol: " + toString(*sym));
94 error(toString(file) + ": relocation " + relocTypeToString(reloc.Type) +
tools/lld/wasm/SymbolTable.cpp 131 error("symbol type mismatch: " + toString(*existing) + "\n>>> defined as " +
162 error("Global type mismatch: " + existing->getName() + "\n>>> defined as " +
180 error("Event type mismatch: " + existing->getName() + "\n>>> defined as " +
261 error("duplicate symbol: " + toString(*existing) + "\n>>> defined in " +
409 error("import name mismatch for symbol: " + toString(*existing) +
419 error("import module mismatch for symbol: " + toString(*existing) +
675 error(msg);
tools/lld/wasm/SyntheticSections.cpp 82 error("type not found: " + toString(sig));
tools/lld/wasm/Writer.cpp 211 error("stack size must be " + Twine(stackAlignment) + "-byte aligned");
288 error("initial memory must be " + Twine(WasmPageSize) + "-byte aligned");
290 error("initial memory too small, " + Twine(memoryPtr) + " bytes needed");
302 error("maximum memory must be " + Twine(WasmPageSize) + "-byte aligned");
304 error("maximum memory too small, " + Twine(memoryPtr) + " bytes needed");
404 error("Unrecognized feature policy prefix " +
424 error(Twine("'atomics' feature is used by ") + used["atomics"] +
427 error("'atomics' feature is used, so --shared-memory must be used");
434 error("'atomics' feature is disallowed by " + disallowed["atomics"] +
438 error("'atomics' feature must be used in order to use shared "
442 error("'bulk-memory' feature must be used in order to use shared "
446 error("'bulk-memory' feature must be used in order to use thread-local "
453 error(Twine("Target feature '") + feature + "' used by " +
467 error(Twine("Target feature '") + feature.Name + "' used in " +
473 error(Twine("Missing target feature '") + feature + "' in " + fileName +
945 error("invalid signature for init func: " + toString(*sym));
1084 error("failed to open " + config->outputFile + ": " +