/freebsd/contrib/llvm-project/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() 100 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Start() 115 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Start() 127 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Stop() 137 error.SetErrorString(llvm::toString(std::move(err)).c_str()); in Stop()
|
/freebsd/contrib/opencsd/decoder/include/common/ |
H A D | trc_printable_elem.h | 60 virtual void toString(std::string &str) const; 68 inline void trcPrintableElem::toString(std::string &str) const in toString() function 75 toString(str); in toStringFmt() 84 pktClass.toString(str); in trcPrintElemToString()
|
/freebsd/contrib/llvm-project/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 | 59 error("incompatible e_flags: " + toString(f)); in calcEFlagsV3() 76 error("incompatible mach: " + toString(f)); in calcEFlagsV4() 85 error("incompatible xnack: " + toString(f)); in calcEFlagsV4() 98 error("incompatible sramecc: " + toString(f)); in calcEFlagsV4() 119 error("incompatible generic version: " + toString(f)); in calcEFlagsV6() 197 ") against symbol " + toString(s)); in getRelExpr() 217 "cannot read addend for relocation " + toString(type)); in getImplicitAddend()
|
H A D | RISCV.cpp | 161 toString(f) + in calcEFlags() 163 toString(ctx.objectFiles[0])); in calcEFlags() 166 error(toString(f) + in calcEFlags() 177 "cannot read addend for relocation " + toString(type)); in getImplicitAddend() 330 ") against symbol " + toString(s)); in getRelExpr() 666 lld::toString(*rel.sym) + "'"); in relocateAlloc() 837 "insufficient padding bytes for " + lld::toString(r.type) + in relax() 1065 errorOrWarn(toString(sec) + ": " + s + ": " + in mergeArch() 1066 llvm::toString(maybeInfo.takeError())); in mergeArch() 1099 toString(oldSection) + in mergeAtomic() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | Stencil.cpp | 66 std::string toString() const override { in toString() function in __anona430d0b90111::RawTextStencil 90 std::string toString() const override { in toString() function in __anona430d0b90111::DebugPrintNodeStencil 119 std::string toString() const override { in toString() function in __anona430d0b90111::UnaryOperationStencil 219 std::string toString() const override { return "selection(...)"; } in toString() function in __anona430d0b90111::SelectorStencil 269 std::string toString() const override { in toString() function in __anona430d0b90111::AccessStencil 270 return (llvm::Twine("access(\"") + BaseId + "\", " + Member->toString() + in toString() 301 std::string toString() const override { in toString() function in __anona430d0b90111::IfBoundStencil 302 return (llvm::Twine("ifBound(\"") + Id + "\", " + TrueStencil->toString() + in toString() 303 ", " + FalseStencil->toString() + ")") in toString() 357 std::string toString() const override { in toString() function in __anona430d0b90111::SelectBoundStencil [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | InputFiles.cpp | 58 std::string lld::toString(const InputFile *f) { in toString() function in lld 137 error(toString(f) + ": unknown Tag_ABI_VFP_args value: " + Twine(vfpArgs)); in updateARMVFPArgs() 142 error(toString(f) + ": incompatible Tag_ABI_VFP_args"); in updateARMVFPArgs() 284 error(toString(file) + " is incompatible with " + target); in isCompatible() 297 with = " with " + toString(existing); in isCompatible() 298 error(toString(file) + " is incompatible" + with); in isCompatible() 318 message(toString(file)); in doParseFile() 434 error(toString(f) + in addDependentLibrary() 481 [&](Error err) { warn(getName() + ": " + toString(std::move(err))); }, in getDwarf() 483 warn(getName() + ": " + toString(std::move(warning))); in getDwarf() [all …]
|
H A D | Symbols.cpp | 51 std::string lld::toString(const elf::Symbol &sym) { in toString() function in lld 140 fatal(toString(d.file) + in getSymVA() 260 error(toString(file) + ": symbol " + s + " has undefined version " + in parseSymbolVersion() 307 message(toString(sym.file) + s + name); in printTraceSymbol() 312 ctx.whyExtractRecords.emplace_back(toString(reference), &extracted, sym); in recordWhyExtract() 332 auto report = [&](StringRef s) { warn(toString(file) + s + sym->getName()); }; in maybeWarnUnorderableSymbol() 542 errorOrWarn("duplicate symbol: " + toString(sym) + "\n>>> defined in " + in reportDuplicate() 543 toString(sym.file) + "\n>>> defined in " + toString(newFile)); in reportDuplicate() 560 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 | 40 std::string lld::toString(const InputSectionBase *sec) { in toString() function in lld 41 return (toString(sec->file) + ":(" + sec->name + ")").str(); in toString() 64 error(toString(this) + ": section too large"); in InputSectionBase() 70 fatal(toString(this) + ": sh_addralign is not a power of 2"); in InputSectionBase() 101 fatal(toString(&file) + ": section sh_addralign is too large"); in InputSectionBase() 119 fatal(toString(&sec) + in decompressAux() 120 ": decompress failed: " + llvm::toString(std::move(e))); in decompressAux() 249 error(toString(this) + ": corrupted compressed section"); in parseCompressedHeader() 256 error(toString(this) + " is compressed with ELFCOMPRESS_ZLIB, but lld is " in parseCompressedHeader() 260 error(toString(this) + " is compressed with ELFCOMPRESS_ZSTD, but lld is " in parseCompressedHeader() [all …]
|
H A D | Relocations.cpp | 79 return msg + toString(sym.file); in getDefinedLocation() 105 hint = "; references '" + lld::toString(*rel.sym) + '\''; in reportRangeError() 125 errorOrWarn(errPlace.loc + "relocation " + lld::toString(rel.type) + in reportRangeError() 136 "; references '" + lld::toString(sym) + '\'' + getDefinedLocation(sym); in reportRangeError() 378 fatal("cannot create a copy relocation for symbol " + toString(ss)); in addCopyRelSymbol() 516 warn("can't find matching " + toString(pairTy) + " relocation for " + in computeMipsAddend() 517 toString(type)); in computeMipsAddend() 537 toString(sym); in maybeReportDiscarded() 539 msg += "\n>>> defined in " + toString(file); in maybeReportDiscarded() 550 "\n>>> prevailing definition is in " + toString(prevailing); in maybeReportDiscarded() [all …]
|
/freebsd/contrib/llvm-project/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); })
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | SymbolTable.cpp | 53 log("Reading " + toString(file)); in addFile() 65 error("LTO object file " + toString(file) + " linked in after " in addFile() 79 error(toString(file) + ": machine type " + machineToStr(mt) + in addFile() 143 res += toString(file); in getSymbolLocations() 211 std::vector<std::string>{"\n>>> referenced by " + toString(file)}, 1); in getSymbolLocations() 221 os << toString(file); in getSymbolLocations() 223 os << ":(" << toString(file->ctx, *loc.sym) << ')'; in getSymbolLocations() 262 os << "undefined symbol: " << toString(ctx, *undefDiag.sym); in reportUndefinedSymbol() 363 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport() 367 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport() [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() 195 fatal(toString(this) + " is not a COFF file"); in parse() 209 fatal("getSection failed: #" + Twine(i) + ": " + toString(sec.takeError())); in getSection() 243 toString(e.takeError())); in readSection() 338 error(toString(this) + ": associative comdat " + name + " (sec " + in readAssociativeDefinition() 553 log(("conflicting comdat type for " + toString(ctx, *leader) + ": " + in handleComdatSelection() 554 Twine((int)leaderSelection) + " in " + toString(leader->getFile()) + in handleComdatSelection() 555 " and " + Twine((int)selection) + " in " + toString(this)) in handleComdatSelection() 657 fatal(toString(this) + ": " + getName() + in createDefined() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OptionalDiagnostic.h | 43 I.toString(Buffer); 60 F.toString(Buffer, precision); 69 FX.toString(Buffer);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
H A D | ScriptInterpreterLua.cpp | 96 std::string error_str = toString(std::move(E)); in IOHandlerIsInputComplete() 134 *io_handler.GetErrorStreamFileSP() << toString(std::move(error)); in IOHandlerInputComplete() 186 llvm::toString(std::move(e))); in ExecuteOneLine() 193 llvm::toString(std::move(e))); in ExecuteOneLine() 223 filename, llvm::toString(std::move(e))); in LoadScriptingModule() 291 debugger.GetErrorStream() << toString(std::move(E)); in BreakpointCallbackFunction() 318 debugger.GetErrorStream() << toString(std::move(E)); in WatchpointCallbackFunction()
|
/freebsd/contrib/llvm-project/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 " + in checkCompatibility() 200 msg(toString(file) + " has architecture " + getArchitectureName(arch) + in compatWithTargetArch() 377 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections() 388 fatal(toString(this) + ": " + sec.segname + "," + sec.sectname + in parseSections() 509 sec.sectname + " in " + toString(file)) in validateRelocationInfo() 849 error(toString(*sections[i]) + ": symbol " + name + in parseSymbols() [all …]
|
H A D | SymbolTable.cpp | 142 std::string srcFile1 = toString(defined->getFile()); in addDefined() 143 std::string srcFile2 = toString(file); in addDefined() 170 ") in the bitcode file(" + toString(undef->getFile()) + in addDefined() 172 toString(file); in addDefined() 184 toString(undef->getFile()) + in addDefined() 187 toString(file); in addDefined() 468 "duplicate symbol: " + toString(*duplicate.sym) + "\n>>> defined in "; in reportPendingDuplicateSymbols() 614 message += ": " + toString(sym); in reportUndefinedSymbol() 648 "\n>>> did you mean" + preHint + toString(*corrected) + postHint; in reportUndefinedSymbol() 650 message += "\n>>> defined in: " + toString(corrected->getFile()); in reportUndefinedSymbol()
|
H A D | InputSection.cpp | 118 return (toString(getFile()) + ":(symbol " + toString(*sym) + "+0x" + in getLocation() 130 return (toString(getFile()) + ":(" + getName() + "+0x" + in getLocation() 306 fatal(toString(this) + ": offset is outside the section"); in getStringPiece() 319 fatal(toString(this) + ": offset is outside the section"); in getStringPieceIndex() 410 std::string lld::toString(const InputSection *isec) { in toString() function in lld 411 return (toString(isec->getFile()) + ":(" + isec->getName() + ")").str(); in toString()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugPubTable.cpp | 42 SetOffset, toString(C.takeError()).c_str())); in extract() 61 SetOffset, toString(C.takeError()).c_str())); in extract() 80 SetOffset, toString(C.takeError()).c_str())); in extract()
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackDocumentYAML.cpp | 35 std::string DocNode::toString() const { in toString() function in DocNode 116 N.fromString(toString(), ""); in getYAMLTag() 177 OS << S.toString(); in output() 217 IO.mapRequired(I.first.toString().c_str(), I.second); in output()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | AtomicChange.cpp | 309 llvm::toString(HeaderReplacements.takeError())); in applyAtomicChanges() 315 llvm::toString(Replaces.takeError())); in applyAtomicChanges() 323 llvm::toString(std::move(Err))); in applyAtomicChanges() 331 llvm::toString(CleanReplaces.takeError())); in applyAtomicChanges() 340 llvm::toString(ChangedCode.takeError())); in applyAtomicChanges() 351 llvm::toString(ChangedCode.takeError())); in applyAtomicChanges() 364 llvm::toString(ChangedCode.takeError())); in applyAtomicChanges()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
H A D | JDTrace.java | 153 req.s = buf.toString(); in applyProbespec() 171 out.printf(stringFormat, value.toString()); in printValue() 179 logger.finer(data.toString()); in consumeProbeData() 232 buf.toString()); in consumeProbeData() 241 buf.toString()); in consumeProbeData() 257 out.print(record.toString()); in consumeProbeData() 280 logger.fine(printa.toString()); in consumeProbeData() 424 return buf.toString(); in repeat() 469 printValue(tupleRecord.toString(), -1, " %-50s"); in printAggregationRecords() 986 logger.fine(error.toString()); in main() [all …]
|