| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | Relocations.cpp | 50 error(toString(sym->getFile()) + ": undefined symbol: " + toString(*sym)); in reportUndefined() 53 warn(toString(sym->getFile()) + ": undefined symbol: " + toString(*sym)); in reportUndefined() 56 LLVM_DEBUG(dbgs() << "ignoring undefined symbol: " + toString(*sym) + in reportUndefined() 119 error(toString(file) + ": relocation " + relocTypeToString(reloc.Type) + in scanRelocations() 120 " cannot be used against an undefined symbol `" + toString(*sym) + in scanRelocations() 128 error(toString(file) + ": relocation " + in scanRelocations() 130 " cannot be used against non-TLS symbol `" + toString(*sym) + in scanRelocations() 135 error(toString(file) + ": relocation " + in scanRelocations() 137 toString(*sym) + in scanRelocations() 157 error(toString(file) + ": relocation " + relocTypeToString(reloc.Type) + in scanRelocations() [all …]
|
| H A D | SymbolTable.cpp | 28 log("Processing: " + toString(file)); in addFile() 50 message(toString(file)); in addFile() 141 error("symbol type mismatch: " + toString(*existing) + "\n>>> defined as " + in reportTypeError() 142 toString(existing->getWasmType()) + " in " + in reportTypeError() 143 toString(existing->getFile()) + "\n>>> defined as " + toString(type) + in reportTypeError() 144 " in " + toString(file)); in reportTypeError() 173 toString(*oldType) + " in " + toString(existing->getFile()) + in checkGlobalType() 174 "\n>>> defined as " + toString(*newType) + " in " + toString(file)); in checkGlobalType() 189 "\n>>> defined as " + toString(*oldSig) + " in " + in checkTagType() 190 toString(existing->getFile()) + "\n>>> defined as " + in checkTagType() [all …]
|
| H A D | MarkLive.cpp | 158 message("removing unused section " + toString(c)); in markLive() 161 message("removing unused section " + toString(c)); in markLive() 164 message("removing unused section " + toString(g)); in markLive() 167 message("removing unused section " + toString(t)); in markLive() 170 message("removing unused section " + toString(t)); in markLive() 174 message("removing unused section " + toString(c)); in markLive() 177 message("removing unused section " + toString(g)); in markLive() 180 message("removing unused section " + toString(t)); in markLive()
|
| H A D | WriterUtils.cpp | 21 std::string toString(ValType type) { in toString() function 41 std::string toString(const WasmSignature &sig) { in toString() function 46 s += toString(type); in toString() 52 s += toString(sig.Returns[0]); in toString() 56 std::string toString(const WasmGlobalType &type) { in toString() function 58 toString(static_cast<ValType>(type.Type)); in toString() 61 static std::string toString(const llvm::wasm::WasmLimits &limits) { in toString() function 70 std::string toString(const WasmTableType &type) { in toString() function 72 return "type=" + toString(static_cast<ValType>(type.ElemType)) + in toString() 73 "; limits=[" + toString(type.Limits) + "]"; in toString() [all …]
|
| H A D | InputFiles.cpp | 35 std::string toString(const wasm::InputFile *file) { in toString() function 50 fatal(toString(this) + in checkArch() 53 fatal(toString(this) + in checkArch() 285 error(toString(this) + in addLegacyIndirectFunctionTableIfNeeded() 295 error(toString(this) + in addLegacyIndirectFunctionTableIfNeeded() 303 error(toString(this) + in addLegacyIndirectFunctionTableIfNeeded() 323 error(toString(this) + ": table import " + Twine(tableImport->Field) + in addLegacyIndirectFunctionTableIfNeeded() 395 LLVM_DEBUG(dbgs() << "Parsing object: " << toString(this) << "\n"); in parse() 396 std::unique_ptr<Binary> bin = CHECK(createBinary(mb), toString(this)); in parse() 400 fatal(toString(this) + ": not a wasm file"); in parse() [all …]
|
| H A D | WriterUtils.h | 69 std::string toString(llvm::wasm::ValType type); 70 std::string toString(const llvm::wasm::WasmSignature &sig); 71 std::string toString(const llvm::wasm::WasmGlobalType &type); 72 std::string toString(const llvm::wasm::WasmTableType &type);
|
| H A D | MapFile.cpp | 96 os.indent(16) << toString(*syms[i]); in getSymbolStrings() 127 os << toString(*osec) << '\n'; in writeMapFile() 132 os.indent(8) << toString(chunk) << '\n'; in writeMapFile() 147 os.indent(8) << toString(chunk) << '\n'; in writeMapFile()
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBTrace.cpp | 39 error.SetErrorString(toString(trace_or_err.takeError()).c_str()); in LoadTraceFromFile() 62 error.SetErrorString(llvm::toString(trace_cursor_sp.takeError()).c_str()); in CreateNewCursor() 80 error.SetErrorString(llvm::toString(desc_file.takeError()).c_str()); in SaveToDisk() 97 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Start() 112 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Start() 124 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Stop() 134 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Stop()
|
| /openbsd-src/gnu/llvm/lld/ELF/Arch/ |
| H A D | MipsArchTree.cpp | 74 error(toString(f.file) + ": microMIPS 64-bit is not supported"); in checkFlags() 78 error(toString(f.file) + ": ABI '" + getAbiName(abi2) + in checkFlags() 83 error(toString(f.file) + ": -mnan=" + getNanName(nan2) + in checkFlags() 88 error(toString(f.file) + ": -mfp" + getFpName(fp2) + in checkFlags() 108 warn(toString(f.file) + in getPicFlags() 110 toString(files[0].file)); in getPicFlags() 112 warn(toString(f.file) + in getPicFlags() 114 toString(files[0].file)); in getPicFlags() 286 error("incompatible target ISA:\n>>> " + toString(files[0].file) + ": " + in getArchFlags() 287 getFullArchName(ret) + "\n>>> " + toString(f.file) + ": " + in getArchFlags()
|
| H A D | AMDGPU.cpp | 57 error("incompatible e_flags: " + toString(f)); in calcEFlagsV3() 74 error("incompatible mach: " + toString(f)); in calcEFlagsV4() 83 error("incompatible xnack: " + toString(f)); in calcEFlagsV4() 96 error("incompatible sramecc: " + toString(f)); in calcEFlagsV4() 175 ") against symbol " + toString(s)); in getRelExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/ |
| H A D | Stencil.cpp | 66 std::string toString() const override { in toString() function in __anona84dea500111::RawTextStencil 90 std::string toString() const override { in toString() function in __anona84dea500111::DebugPrintNodeStencil 119 std::string toString() const override { in toString() function in __anona84dea500111::UnaryOperationStencil 219 std::string toString() const override { return "selection(...)"; } in toString() function in __anona84dea500111::SelectorStencil 268 std::string toString() const override { in toString() function in __anona84dea500111::AccessStencil 269 return (llvm::Twine("access(\"") + BaseId + "\", " + Member->toString() + in toString() 300 std::string toString() const override { in toString() function in __anona84dea500111::IfBoundStencil 301 return (llvm::Twine("ifBound(\"") + Id + "\", " + TrueStencil->toString() + in toString() 302 ", " + FalseStencil->toString() + ")") in toString() 356 std::string toString() const override { in toString() function in __anona84dea500111::SelectBoundStencil [all …]
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | InputFiles.cpp | 51 std::string lld::toString(const InputFile *f) { in toString() function in lld 143 error(toString(f) + ": unknown Tag_ABI_VFP_args value: " + Twine(vfpArgs)); in updateARMVFPArgs() 148 error(toString(f) + ": incompatible Tag_ABI_VFP_args"); in updateARMVFPArgs() 248 error(toString(file) + " is incompatible with " + target); in isCompatible() 261 with = " with " + toString(existing); in isCompatible() 262 error(toString(file) + " is incompatible" + with); in isCompatible() 289 message(toString(file)); in doParseFile() 382 error(toString(f) + in addDependentLibrary() 429 [&](Error err) { warn(getName() + ": " + toString(std::move(err))); }, in getDwarf() 431 warn(getName() + ": " + toString(std::move(warning))); in getDwarf() [all …]
|
| H A D | Symbols.cpp | 53 std::string lld::toString(const elf::Symbol &sym) { in toString() function in lld 142 fatal(toString(d.file) + in getSymVA() 262 error(toString(file) + ": symbol " + s + " has undefined version " + in parseSymbolVersion() 309 message(toString(sym.file) + s + name); in printTraceSymbol() 314 ctx.whyExtractRecords.emplace_back(toString(reference), &extracted, sym); in recordWhyExtract() 333 auto report = [&](StringRef s) { warn(toString(file) + s + sym->getName()); }; in maybeWarnUnorderableSymbol() 538 error("duplicate symbol: " + toString(sym) + "\n>>> defined in " + in reportDuplicate() 539 toString(sym.file) + "\n>>> defined in " + toString(newFile)); in reportDuplicate() 556 std::string msg = "duplicate symbol: " + toString(sym) + "\n>>> defined at "; in reportDuplicate()
|
| H A D | MapFile.cpp | 101 os << indent16 << toString(*syms[i]); in getSymbolStrings() 144 os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x" in printEhFrame() 186 os << indent8 << toString(isec) << '\n'; in writeMapFile() 250 print(toString(*sym), toString(sym->file)); in writeCref() 253 print("", toString(file)); in writeCref()
|
| H A D | InputSection.cpp | 39 std::string lld::toString(const InputSectionBase *sec) { in toString() function in lld 40 return (toString(sec->file) + ":(" + sec->name + ")").str(); in toString() 63 error(toString(this) + ": section too large"); in InputSectionBase() 69 fatal(toString(this) + ": sh_addralign is not a power of 2"); in InputSectionBase() 100 fatal(toString(&file) + ": section sh_addralign is too large"); in InputSectionBase() 118 fatal(toString(&sec) + in decompressAux() 119 ": decompress failed: " + llvm::toString(std::move(e))); in decompressAux() 212 error(toString(this) + ": corrupted compressed section"); in parseCompressedHeader() 219 error(toString(this) + " is compressed with ELFCOMPRESS_ZLIB, but lld is " in parseCompressedHeader() 223 error(toString(this) + " is compressed with ELFCOMPRESS_ZSTD, but lld is " in parseCompressedHeader() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/bugpoint/ |
| H A D | BugDriver.cpp | 37 errs() << "Failed to keep temp file " << toString(std::move(E)) << '\n'; in ~DiscardTemp() 41 errs() << "Failed to delete temp file " << toString(std::move(E)) << '\n'; in ~DiscardTemp() 189 outs() << toString(std::move(E)); in run() 202 errs() << toString(std::move(E)); in run() 219 errs() << toString(std::move(E)); in run() 225 errs() << toString(std::move(E)); in run() 234 errs() << toString(std::move(E)); in run()
|
| /openbsd-src/gnu/llvm/lld/include/lld/Common/ |
| H A D | ErrorHandler.h | 170 fatal(llvm::toString(e.takeError())); in check() 177 fatal(llvm::toString(e.takeError())); in check() 191 fatal(prefix() + ": " + toString(e.takeError())); in check2() 195 inline std::string toString(const Twine &s) { return s.str(); } in toString() function 198 #define CHECK(E, S) check2((E), [&] { return toString(S); })
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 56 llvm::errs() << "Skipping replacement " << Replacement.toString() in HandleTranslationUnit() 58 << toString(std::move(Err)) << "\n"; in HandleTranslationUnit() 97 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run() 116 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run() 136 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run() 147 llvm::errs() << llvm::toString(std::move(Err)) << "\n"; in run() 234 << "! " << llvm::toString(std::move(Err)) << "\n"; in run()
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | SymbolTable.cpp | 38 log("Reading " + toString(file)); in addFile() 60 error(toString(file) + ": machine type " + machineToStr(mt) + in addFile() 124 res += toString(file); in getSymbolLocations() 192 std::vector<std::string>{"\n>>> referenced by " + toString(file)}, 1); in getSymbolLocations() 202 os << toString(file); in getSymbolLocations() 204 os << ":(" << toString(file->ctx, *loc.sym) << ')'; in getSymbolLocations() 243 os << "undefined symbol: " << toString(ctx, *undefDiag.sym); in reportUndefinedSymbol() 344 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport() 348 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport() 389 errorOrWarn("<root>: undefined symbol: " + toString(ctx, *b), in reportProblemSymbols() [all …]
|
| H A D | InputFiles.cpp | 61 std::string lld::toString(const coff::InputFile *file) { in toString() function in lld 133 ": Archive::children failed: " + toString(std::move(err))); in getArchiveMembers() 163 fatal(toString(this) + " is not a COFF file"); in parse() 176 fatal("getSection failed: #" + Twine(i) + ": " + toString(sec.takeError())); in getSection() 210 toString(e.takeError())); in readSection() 299 error(toString(this) + ": associative comdat " + name + " (sec " + in readAssociativeDefinition() 514 log(("conflicting comdat type for " + toString(ctx, *leader) + ": " + in handleComdatSelection() 515 Twine((int)leaderSelection) + " in " + toString(leader->getFile()) + in handleComdatSelection() 516 " and " + Twine((int)selection) + " in " + toString(this)) in handleComdatSelection() 618 fatal(toString(this) + ": " + getName() + in createDefined() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | OptionalDiagnostic.h | 43 I.toString(Buffer); 60 F.toString(Buffer, precision); 69 FX.toString(Buffer);
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | ScriptInterpreterLua.cpp | 96 std::string error_str = toString(std::move(E)); in IOHandlerIsInputComplete() 133 *io_handler.GetErrorStreamFileSP() << toString(std::move(error)); in IOHandlerInputComplete() 185 llvm::toString(std::move(e))); in ExecuteOneLine() 192 llvm::toString(std::move(e))); in ExecuteOneLine() 222 filename, llvm::toString(std::move(e))); in LoadScriptingModule() 290 debugger.GetErrorStream() << toString(std::move(E)); in BreakpointCallbackFunction() 317 debugger.GetErrorStream() << toString(std::move(E)); in WatchpointCallbackFunction()
|
| /openbsd-src/gnu/llvm/lldb/tools/lldb-vscode/ |
| H A D | RunInTerminal.cpp | 124 llvm::errs() << llvm::toString(std::move(err)) << "\n"; in NotifyError() 138 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in NotifyDidAttach() 158 return toString(ToError(*message.get())); in GetLauncherError() 160 return toString(message.takeError()); in GetLauncherError()
|
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | InputFiles.cpp | 87 std::string lld::toString(const InputFile *f) { in toString() function in lld 101 std::string lld::toString(const Section &sec) { in toString() function in lld 102 return (toString(sec.file) + ":(" + sec.name + ")").str(); in toString() 173 error(toString(input) + " has platform " + platformNames + in checkCompatibility() 180 warn(toString(input) + " has version " + it->minimum.getAsString() + in checkCompatibility() 355 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections() 366 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections() 487 sec.sectname + " in " + toString(file)) in validateRelocationInfo() 831 error(toString(*sections[i]) + ": symbol " + name + in parseSymbols() 981 msg(toString(this) + " has architecture " + getArchitectureName(arch) + in parse() [all …]
|
| H A D | InputSection.cpp | 72 return (toString(getFile()) + ":(symbol " + toString(*sym) + "+0x" + in getLocation() 84 return (toString(getFile()) + ":(" + getName() + "+0x" + in getLocation() 251 fatal(toString(this) + ": offset is outside the section"); in getStringPiece() 346 std::string lld::toString(const InputSection *isec) { in toString() function in lld 347 return (toString(isec->getFile()) + ":(" + isec->getName() + ")").str(); in toString()
|