|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Object/ELF.h 639 return createError("SHT_SYMTAB_SHNDX section is linked with " +
include/llvm/Support/CommandLine.h 806 return O.error("Cannot find option named '" + ArgVal + "'!");
lib/Analysis/CFGPrinter.cpp 179 ViewGraph(this, "cfg" + getName());
190 ViewGraph(this, "cfg" + getName(), true);
lib/AsmParser/LLParser.cpp 198 "use of undefined type named '" + I->getKey() + "'");
3951 return TokError("value for '" + Name + "' too large, limit is " +
4205 return TokError("value for '" + Name + "' too small, limit is " +
4208 return TokError("value for '" + Name + "' too large, limit is " +
4237 return TokError("'" + Name + "' cannot be null");
4303 return Error(ValueLoc, "'" + Name + "' cannot be empty");
4367 return TokError("field '" + Name + "' cannot be specified more than once");
7132 return Error(ValLoc, "atomicrmw " +
7138 return Error(ValLoc, "atomicrmw " +
7144 return Error(ValLoc, "atomicrmw " +
lib/CodeGen/AsmPrinter/AccelTable.cpp 508 Asm->OutStreamer->AddComment("End of list: " + Hash->Name.getString());
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 1666 OutContext.getOrCreateSymbol("." + CurrentFnDescSym->getName());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 869 OS.AddComment("Inlined function " + SP->getName() + " starts at " +
2944 OS.AddComment("Record kind: " + getSymbolName(SymKind));
2962 OS.AddComment("Record kind: " + getSymbolName(EndKind));
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 2079 Asm->OutStreamer->AddComment("Length of Public " + Name + " Info");
2080 MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + Name + "_begin");
2081 MCSymbol *EndLabel = Asm->createTempSymbol("pub" + Name + "_end");
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp 145 report_fatal_error("Function '" + FI.getFunction().getName() +
161 report_fatal_error("Function '" + FI.getFunction().getName() +
lib/CodeGen/AsmPrinter/WinException.cpp 183 return Ctx.getOrCreateSymbol("?" + HandlerPrefix + "$" +
lib/CodeGen/GCMetadata.cpp 167 const std::string error = ("unsupported GC: " + Name).str() +
lib/CodeGen/GlobalISel/IRTranslator.cpp 104 R << (" (in function: " + MF.getName() + ")").str();
lib/CodeGen/GlobalISel/Utils.cpp 186 R << (" (in function: " + MF.getName() + ")").str();
lib/CodeGen/GlobalMerge.cpp 512 ? "_MergedGlobals_" + FirstExternalName
lib/CodeGen/IntrinsicLowering.cpp 244 report_fatal_error("Cannot lower a call to a non-intrinsic function '"+
247 report_fatal_error("Code generator does not support intrinsic function '"+
lib/CodeGen/LowerEmuTLS.cpp 88 std::string EmuTlsVarName = ("__emutls_v." + GV->getName()).str();
139 std::string EmuTlsTmplName = ("__emutls_t." + GV->getName()).str();
lib/CodeGen/MIRParser/MILexer.cpp 601 "use of unknown metadata keyword '" + StrVal + "'");
lib/CodeGen/MIRParser/MIParser.cpp 1325 return error("duplicate '" + Token.stringValue() + "' register flag");
2343 return error("use of undefined target index '" + Token.stringValue() + "'");
2514 return error("use of undefined target flag '" + Token.stringValue() +
2524 return error("use of undefined target flag '" + Token.stringValue() +
2551 return error("expected an integer literal after '" + Sign + "'");
2685 return error("use of undefined target MMO flag '" + Token.stringValue() +
2696 return error("duplicate '" + Token.stringValue() + "' memory operand flag");
lib/CodeGen/MIRParser/MIRParser.cpp 771 "expected a reference to a '" + TypeString +
lib/CodeGen/MachineBlockFrequencyInfo.cpp 200 view("MachineBlockFrequencyDAGS." + F.getName());
lib/CodeGen/MachineBlockPlacement.cpp 3080 MBFI->view("MBP." + MF.getName(), false);
lib/CodeGen/MachineFunction.cpp 530 return ("CFG for '" + F->getName() + "' function").str();
564 ViewGraph(this, "mf" + getName());
574 ViewGraph(this, "mf" + getName(), true);
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 706 R << (" (in function: " + MF.getName() + ")").str();
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp 153 ViewGraph(this, "dag." + getMachineFunction().getName(),
lib/CodeGen/SelectionDAG/TargetLowering.cpp 6830 std::string NameString = ("__emutls_v." + GA->getGlobal()->getName()).str();
lib/CodeGen/ShadowStackGCLowering.cpp 147 "__gc_" + F.getName());
162 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str());
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 509 report_fatal_error("ELF COMDATs only support SelectionKind::Any, '" +
914 report_fatal_error("Invalid section specifier '" + Section + "': " +
933 report_fatal_error("MachO doesn't support COMDATs, '" + C->getName() +
951 report_fatal_error("Global variable '" + GO->getName() +
970 report_fatal_error("Global variable '" + GO->getName() +
1264 report_fatal_error("Associative COMDAT symbol '" + ComdatGVName +
1268 report_fatal_error("Associative COMDAT symbol '" + ComdatGVName +
1688 "SelectionKind::Any, '" + C->getName() + "' cannot be "
lib/CodeGen/TargetPassConfig.cpp 358 report_fatal_error("invalid pass instance specifier " + PassName);
lib/DebugInfo/CodeView/TypeRecordMapping.cpp 214 IO.emitRawComment(" " + getLeafTypeName(CVR.kind()) + " (0x" +
lib/DebugInfo/DWARF/DWARFContext.cpp 1554 "failed to decompress '" + Name + "', ", std::move(Err)));
1690 createError("failed to compute relocation: " + Type + ", ",
lib/DebugInfo/DWARF/DWARFVerifier.cpp 508 ReportError("DIE with tag " + TagString(DieTag) + " has " +
519 ReportError("DIE has " + AttributeString(Attr) +
lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp 73 std::string StreamName = ("/src/files/" + VName).str();
lib/ExecutionEngine/ExecutionEngine.cpp 1251 +GV.getName());
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 108 ExtName += ("_" + F->getName()).str();
113 FnPtr = (*FuncNames)[("lle_X_" + F->getName()).str()];
116 ("lle_X_" + F->getName()).str());
297 report_fatal_error("Tried to execute an unknown external function: " +
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp 192 "Address range for section " + Cur.GraphSection->getName() +
341 (NSym.Name ? ("\"" + *NSym.Name + "\"") : Twine("<anon>")) +
346 (NSym.Name ? ("\"" + *NSym.Name + "\"") : Twine("<anon>")) +
352 (NSym.Name ? ("\"" + *NSym.Name + "\"") : Twine("<anon>")) +
418 "First symbol in " + NSec.GraphSection->getName() + " is alt-entry");
lib/ExecutionEngine/JITLink/MachO_arm64.cpp 268 "Invalid relocation pair: Addend + " +
lib/ExecutionEngine/MCJIT/MCJIT.cpp 626 report_fatal_error("Program used external function '"+Name+
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 266 GV.setName("__" + GV.getName().substr(1) + "." + Twine(NextId++));
268 GV.setName("__orc_lcl." + GV.getName() + "." + Twine(NextId++));
lib/ExecutionEngine/Orc/Speculation.cpp 98 "__orc_speculate.guard.for." + Fn.getName());
lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp 98 OnResolved(make_error<StringError>("Symbol not found: " + Symbol,
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 1110 report_fatal_error("Program used external function '" + Name +
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp 231 EvalResult(("Cannot decode unknown symbol '" + Symbol + "'").str()),
253 EvalResult(("Couldn't decode instruction at '" + Symbol + "'").str()),
299 EvalResult(("Cannot decode unknown symbol '" + Symbol + "'").str()),
311 EvalResult(("Couldn't decode instruction at '" + Symbol + "'").str()),
lib/IR/AutoUpgrade.cpp 517 "llvm.ctlz." + Name.substr(14), F->getParent());
533 "llvm." + Name + ".p0i8", F->getParent());
lib/IR/LegacyPassManager.cpp 789 dbgs(), ("*** IR Dump Before " + P->getPassName() + " ***").str());
798 dbgs(), ("*** IR Dump After " + P->getPassName() + " ***").str());
lib/IR/Verifier.cpp 1825 CheckFailed("'allocsize' " + Name + " argument is out of bounds", V);
1830 CheckFailed("'allocsize' " + Name +
3526 Assert(ElTy->isIntegerTy() || ElTy->isFloatingPointTy(), "atomicrmw " +
3531 Assert(ElTy->isFloatingPointTy(), "atomicrmw " +
3536 Assert(ElTy->isIntegerTy(), "atomicrmw " +
4920 "invalid llvm.dbg." + Kind + " intrinsic address/value", &DII, MD);
4922 "invalid llvm.dbg." + Kind + " intrinsic variable", &DII,
4925 "invalid llvm.dbg." + Kind + " intrinsic expression", &DII,
4939 AssertDI(Loc, "llvm.dbg." + Kind + " intrinsic requires a !dbg attachment",
4947 AssertDI(VarSP == LocSP, "mismatched subprogram between llvm.dbg." + Kind +
4960 "invalid llvm.dbg." + Kind + " intrinsic variable", &DLI,
4974 Assert(Loc, "llvm.dbg." + Kind + " intrinsic requires a !dbg attachment",
4982 AssertDI(LabelSP == LocSP, "mismatched subprogram between llvm.dbg." + Kind +
lib/LTO/Caching.cpp 39 sys::path::append(EntryPath, CacheDirectoryPath, "llvmcache-" + Key);
lib/LTO/LTOBackend.cpp 338 report_fatal_error("Failed to open " + DwoFile + ": " + EC.message());
lib/LTO/LTOModule.cpp 254 name = (".objc_class_name_" + ca->getAsCString()).str();
lib/LTO/ThinLTOCodeGenerator.cpp 346 sys::path::append(EntryPath, CachePath, "llvmcache-" + Key);
889 report_fatal_error("Can't open output '" + OutputPath + "'\n");
lib/LineEditor/LineEditor.cpp 26 sys::path::append(Path, "." + ProgName + "-history");
lib/Linker/IRMover.cpp 873 "Linking globals named '" + SrcGV->getName() +
1267 return stringErr("linking module flags '" + ID->getString() +
1280 return stringErr("linking module flags '" + ID->getString() +
1300 return stringErr("linking module flags '" + ID->getString() +
1362 return stringErr("linking module flags '" + Flag->getString() +
lib/Linker/LinkModules.cpp 137 return emitError("Linking COMDATs named '" + ComdatName +
144 "Linking COMDATs named '" + ComdatName +
171 return emitError("Linking COMDATs named '" + ComdatName +
181 return emitError("Linking COMDATs named '" + ComdatName +
198 return emitError("Linking COMDATs named '" + ComdatName +
205 return emitError("Linking COMDATs named '" + ComdatName +
324 return emitError("Linking globals named '" + Src.getName() +
lib/MC/ELFObjectWriter.cpp 706 "Undefined section reference: " + Symbol.getName());
917 MC.renameELFSection(&Section, (".z" + SectionName.drop_front(1)).str());
1310 Asm.getContext().reportError(SMLoc(), "versioned symbol " + AliasName +
lib/MC/MCAssembler.cpp 688 report_fatal_error("non-zero initializer found in section '" +
lib/MC/MCELFStreamer.cpp 317 report_fatal_error("Symbol: " + Symbol->getName() +
lib/MC/MCFragment.cpp 88 report_fatal_error("unable to evaluate offset to undefined symbol '" +
104 report_fatal_error("unable to evaluate offset for variable '" +
167 "Common symbol '" + ASym.getName() +
lib/MC/MCParser/AsmParser.cpp 975 printError(getTok().getLoc(), "assembler local symbol '" +
1157 "invalid variant '" + Split.second + "'");
1201 return TokError("invalid variant '" + Split.second + "'");
1324 TokError("invalid variant on expression '" + getTok().getIdentifier() +
1428 return TokError("invalid variant '" + getTok().getIdentifier() + "'");
1432 return TokError("invalid modifier '" + getTok().getIdentifier() +
2722 return Error(IDLoc, "parameter named '" + FA.Name +
2749 "'" + M->Parameters[FAI].Name + "' in macro '" + M->Name + "'");
3639 parseIntToken(FunctionId, "expected function id in '" + DirectiveName +
3648 parseIntToken(FileNumber, "expected integer in '" + DirectiveName +
3650 check(FileNumber < 1, Loc, "file number less than one in '" +
3653 "unassigned file number in '" + DirectiveName + "' directive");
4347 return TokError("unexpected token in '" + Directive + "' directive");
4357 "unexpected token in '" + Directive + "' directive"))
4379 "Vararg parameter '" + Parameters.back().Name +
4389 return TokError("macro '" + Name + "' has multiple parameters"
4401 "'" + Parameter.Name + "' in macro '" + Name + "'");
4423 "'" + Parameter.Name + "' in macro '" + Name + "'");
4457 return TokError("unexpected token in '" + EndToken.getIdentifier() +
4476 return Error(DirectiveLoc, "macro '" + Name + "' is already defined");
4596 "unexpected token in '" + Directive + "' directive"))
4600 return TokError("unexpected '" + Directive + "' in file, "
4618 return TokError("unexpected token in '" + Directive + "' directive");
4629 return TokError("unexpected '" + Directive + "' in file, "
4646 return Error(DirectiveLoc, "macro '" + Name + "' is not defined");
4966 return Error(Loc, ".abort '" + Str + "' detected. Assembly stopping.");
5567 return Error(CountLoc, "unexpected token in '" + Dir + "' directive");
5572 "unexpected token in '" + Dir + "' directive"))
5844 OutputConstraints.push_back(("=" + Operand.getConstraint()).str());
6048 return Parser.Error(EqualLoc, "Recursive use of '" + Name + "'");
6055 return Parser.Error(EqualLoc, "redefinition of '" + Name + "'");
6057 return Parser.Error(EqualLoc, "invalid assignment to '" + Name + "'");
6060 "invalid reassignment of non-absolute variable '" +
lib/MC/MCParser/COFFAsmParser.cpp 572 return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'"));
lib/MC/MCParser/DarwinAsmParser.cpp 573 return TokError("unable to emit indirect symbol attribute for: " + Name);
715 getParser().Warning(Loc, "section \"" + Section + "\" is deprecated",
717 getParser().Note(Loc, "change section name to \"" + NonCoalSection +
lib/MC/MCParser/ELFAsmParser.cpp 456 return TokError("symbol is not in a section: " + Name);
lib/MC/MCParser/WasmAsmParser.cpp 129 return Parser->Error(Lexer->getLoc(), "unknown section kind: " + Name);
lib/MC/MachObjectWriter.cpp 97 report_fatal_error("unable to evaluate offset for variable '" +
102 report_fatal_error("unable to evaluate offset to undefined symbol '" +
105 report_fatal_error("unable to evaluate offset to undefined symbol '" +
496 report_fatal_error("indirect symbol '" + Symbol.getName() +
lib/MC/WasmObjectWriter.cpp 419 report_fatal_error("section already has a defining function: " +
628 report_fatal_error("symbol not found in type index space: " +
1345 report_fatal_error("data symbols must have a size set with .size: " +
1354 report_fatal_error("data symbols must live in a data section: " +
lib/MC/WinCOFFObjectWriter.cpp 373 std::string WeakName = (".weak." + MCSym.getName() + ".default").str();
lib/Object/COFFImportFile.cpp 150 ImportDescriptorSymbolName(("__IMPORT_DESCRIPTOR_" + Library).str()),
151 NullThunkSymbolName(("\x7f" + Library + "_NULL_THUNK_DATA").str()) {}
lib/Object/COFFModuleDefinition.cpp 226 return createError("unknown directive: " + Tok.Value);
237 return createError("identifier expected, but got " + Tok.Value);
341 return createError("identifier expected, but got " + Tok.Value);
345 return createError("integer expected, but got " + Tok.Value);
349 return createError("integer expected, but got " + Tok.Value);
lib/Object/MachOUniversal.cpp 217 "named: " +
224 "contain " +
lib/ObjectYAML/ELFEmitter.cpp 309 reportError("unknown section referenced: '" + S + "' by YAML symbol '" +
312 reportError("unknown section referenced: '" + S + "' by YAML section '" +
325 reportError("unknown symbol referenced: '" + S + "' by YAML section '" +
656 reportError("unknown section referenced: '" + SecName.Section +
999 "for dynamic section '" +
1102 reportError("repeated section name: '" + Name +
1114 reportError("repeated symbol name: '" + Sym.Name + "'");
lib/ObjectYAML/ELFYAML.cpp 905 YamlIO.setError("an unknown value is used for symbol's 'Other' field: " +
lib/ObjectYAML/ObjectYAML.cpp 59 IO.setError("YAML Object File unsupported document type tag '" +
lib/ObjectYAML/WasmEmitter.cpp 519 writeStringRef(("reloc." + CustomSection->Name).str(), OS);
lib/Option/OptTable.cpp 299 std::string Candidate = (CandidatePrefix + CandidateName).str();
lib/ProfileData/SampleProfReader.cpp 220 "Expected 'mangled_name:NUM:NUM', found " + *LineIt);
239 "Expected 'NUM[.NUM]: NUM[ mangled_name:NUM]*', found " +
lib/Support/CachePruning.cpp 59 return make_error<StringError>("'" + NumStr + "' not an integer",
70 return make_error<StringError>("'" + Duration +
97 return make_error<StringError>("'" + Value + "' must be a percentage",
102 return make_error<StringError>("'" + SizeStr + "' not an integer",
105 return make_error<StringError>("'" + SizeStr +
127 return make_error<StringError>("'" + Value + "' not an integer",
132 return make_error<StringError>("'" + Value + "' not an integer",
135 return make_error<StringError>("Unknown key: '" + Key + "'",
lib/Support/CommandLine.cpp 1729 return O.error("'" + Arg +
1747 return O.error("'" + Arg +
1756 return O.error("'" + Arg + "' value invalid for integer argument!");
1766 return O.error("'" + Arg + "' value invalid for uint argument!");
1776 return O.error("'" + Arg + "' value invalid for ulong argument!");
1787 return O.error("'" + Arg + "' value invalid for ullong argument!");
1796 return O.error("'" + Arg + "' value invalid for floating point argument!");
lib/Support/FileCheck.cpp 134 SM, Name, "string variable with name '" + Name + "' already exists");
158 SM, Name, "invalid pseudo numeric variable '" + Name + "'");
181 "numeric variable '" + Name +
212 "invalid operand format '" + Expr + "'");
298 "unexpected characters at end of expression '" + Expr + "'");
336 "found empty check string with prefix '" + Prefix + ":'");
343 "found non-empty check string for empty check with prefix '" + Prefix +
475 "numeric variable with name '" + Name + "' already exists");
1195 "unsupported -NOT combo on prefix '" + UsedPrefix + "'");
1202 "invalid count in -COUNT specification on prefix '" +
1227 "found '" + UsedPrefix + "-LABEL:'"
1243 "found '" + UsedPrefix + "-" + Type +
1877 "invalid name in string variable definition '" +
1889 "numeric variable with name '" +
lib/Support/GlobPattern.cpp 49 return make_error<StringError>("invalid glob pattern: " + Original,
82 return make_error<StringError>("invalid glob pattern: " + Original,
lib/Support/SymbolRemappingReader.cpp 47 "found '" + Line + "'");
57 " found '" + Parts[0] + "'");
65 return ReportError("Manglings '" + Parts[1] + "' and '" + Parts[2] + "' "
70 return ReportError("Could not demangle '" + Parts[1] + "' "
74 return ReportError("Could not demangle '" + Parts[2] + "' "
lib/Support/TarWriter.cpp 165 return make_error<StringError>("cannot open " + OutputPath, EC);
lib/TableGen/Record.cpp 2164 PrintFatalError(getLoc(), "Record `" + getName() +
2172 PrintFatalError(getLoc(), "Record `" + getName() +
2180 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2187 PrintFatalError(getLoc(), "Record `" + getName() +
2192 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2199 PrintFatalError(getLoc(), "Record `" + getName() +
2204 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2216 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2225 PrintFatalError(getLoc(), "Record `" + getName() +
2271 PrintFatalError(getLoc(), "Record `" + getName() +
2276 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2283 PrintFatalError(getLoc(), "Record `" + getName() +
2290 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2298 PrintFatalError(getLoc(), "Record `" + getName() +
2303 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2310 PrintFatalError(getLoc(), "Record `" + getName() +
2320 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2327 PrintFatalError(getLoc(), "Record `" + getName() +
2332 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
2361 PrintFatalError("ERROR: Couldn't find the `" + ClassName + "' class!\n");
lib/TableGen/TGLexer.cpp 684 return ReturnError(TokStart, "Expected macro name after " + IfTokName);
700 return ReturnError(CurPtr, "Only comments are supported after " +
lib/TableGen/TGParser.cpp 147 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" +
280 "Already subclass of '" + SCPair.first->getName() + "'!\n");
286 "Already subclass of '" + SC->getName() + "'!\n");
891 Error(NameLoc, "Variable not defined: '" + Name->getValue() + "'");
1831 Error(NameLoc, "Expected a class name, got '" + Name->getValue() + "'");
2588 return TokError("Value '" + FieldName->getValue() + "' unknown!");
lib/Target/AArch64/AArch64ISelLowering.cpp 5554 + StringRef(RegName) + "\"."));
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 2968 return TokError("specified " + Mnemonic + " op requires a register");
2970 return TokError("specified " + Mnemonic + " op does not use a register");
5147 report_fatal_error("unsupported architectural extension: " + Name);
5185 return Error(ExtLoc, "unsupported architectural extension: " + Name);
5196 return Error(ExtLoc, "unknown architectural extension: " + Name);
5250 report_fatal_error("unsupported architectural extension: " + Name);
5434 Warning(L, "ignoring redefinition of register alias '" + Name + "'");
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp 184 " label. '" +
266 "unsupported relocation of local symbol '" + A->getName() +
273 "unsupported relocation of local symbol '" + B->getName() +
313 "unsupported relocation of local symbol '" + Symbol->getName() +
350 "unsupported relocation of local symbol '" + Symbol->getName() +
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp 267 C.emitError("Illegal instruction detected: " + Err);
391 C.emitError("Illegal instruction detected: " + Err);
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 4547 Error(S, "invalid " + StringRef(Prefix) + " value.");
4578 Error(Loc, "invalid " + StringRef(Prefix) + " value.");
4901 Error(CntLoc, "invalid counter name " + CntName);
4906 Error(ValLoc, "too large value for " + CntName);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp 521 report_fatal_error("Symbol: " + Symbol->getName() +
lib/Target/AMDGPU/SIISelLowering.cpp 2996 + StringRef(RegName) + "\"."));
3003 + StringRef(RegName) + "\" for subtarget."));
3025 + StringRef(RegName) + "\"."));
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp 569 Ctx.emitError("can't parse integer attribute " + Name);
588 Ctx.emitError("can't parse first integer attribute " + Name);
593 Ctx.emitError("can't parse second integer attribute " + Name);
lib/Target/ARM/ARMISelLowering.cpp 5578 + StringRef(RegName) + "\"."));
lib/Target/ARM/ARMTargetMachine.cpp 291 F.getContext().emitError("Function '" + F.getName() + "' uses ARM "
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 4388 Warning(RegLoc, "duplicated register (" + RegTok.getString() +
4414 Warning(RegLoc, "duplicated register (" + RegTok.getString() +
6814 return Error(Loc, "illegal IT block condition mask '" + ITMask + "'");
6840 return Error(NameLoc, "instruction '" + Mnemonic +
6846 return Error(NameLoc, "instruction '" + Mnemonic +
6853 return Error(NameLoc, "instruction '" + Mnemonic +
7316 return Error(CondLoc, "incorrect condition in IT block; got '" +
7363 return Error(PredLoc, "incorrect predication in VPT block; got '" +
10737 "redefinition of '" + Name + "' does not match original.");
10793 STI.setDefaultFeatures("", ("+" + ARM::getArchName(ID)).str());
10813 Error(TagLoc, "attribute name not recognised: " + Name);
11450 return Error(ArchLoc, "unknown architecture '" + Arch + "'");
11484 parseToken(AsmToken::Comma, "expected comma after name '" + Name + "'"))
11773 return Error(ExtLoc, "unknown architectural extension: " + Name);
11780 return Error(ExtLoc, "unsupported architectural extension: " + Name);
11783 return Error(ExtLoc, "architectural extension '" + Name +
11798 return Error(ExtLoc, "unknown architectural extension: " + Name);
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp 330 report_fatal_error("unexpected instruction to relax: " + OS.str());
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp 165 "symbol '" + A->getName() +
180 "symbol '" + B->getSymbol().getName() +
279 "symbol '" + A->getName() +
295 "symbol '" + B->getSymbol().getName() +
lib/Target/BPF/BPFISelLowering.cpp 373 + StringRef(E->getSymbol())
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp 125 report_fatal_error("Symbol: " + Symbol->getName() +
lib/Target/MSP430/MSP430AsmPrinter.cpp 167 "__interrupt_vector_" + IVIdx,
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 5866 "Did you mean $" + FixedName + "?", RegRange);
6026 MCSymbol *Sym = getContext().getOrCreateSymbol("$" + Identifier);
8129 reportParseError("'" + Directive + " fp=xx' requires the O32 ABI");
8155 reportParseError("'" + Directive + " fp=32' requires the O32 ABI");
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 1170 report_fatal_error("initial value of '" + GVar->getName() +
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp 1659 return Error(ExprLoc, "literal value out of range for '" +
1668 return addErrorSuffix(" in '" + ID.getIdentifier() + "' directive");
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp 209 report_fatal_error("symbol '" + A->getName() +
221 report_fatal_error("symbol '" + SB->getName() +
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 399 return error("Expected p2align, instead got: " + Id);
843 auto SecName = ".text." + SymName;
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp 79 "Functions with 'no-prototype' attribute must take varargs: " +
85 "not have params: " +
115 dbgs() << "could not derive a function prototype from usage: " +
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 156 std::string SectionName = (".custom_section." + Name->getString()).str();
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp 145 "non-Emscripten OSes: variable " +
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 969 report_fatal_error("Cannot use EM_ASM* alongside setjmp/longjmp in " +
lib/Target/X86/AsmParser/X86AsmParser.cpp 1133 "register %" + RegName + " is only available in 64-bit mode",
3026 "source register '" + RegName + "' implicitly denotes '" +
3289 return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'",
3466 return Error(IDLoc, "invalid instruction mnemonic '" + Mnemonic + "'",
3512 "ambiguous operand size for instruction '" + Mnemonic + "\'",
3665 Error(L, "unknown directive " + IDVal);
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp 307 report_fatal_error("unexpected instruction to relax: " + OS.str());
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp 191 "unsupported relocation with subtraction expression, symbol '" +
261 "unsupported relocation of variable '" +
267 Fixup.getLoc(), "unsupported relocation of undefined symbol '" +
382 "symbol '" + A->getName() +
398 "symbol '" + SB->getName() +
lib/Target/X86/X86FrameLowering.cpp 2550 report_fatal_error("HiPE literal " + LiteralName
lib/Target/X86/X86ISelLowering.cpp24265 report_fatal_error("register " + StringRef(RegName) +
lib/Target/X86/X86MCInstLower.cpp 1181 OutStreamer->AddComment("on-fault: " + HandlerLabel->getName());
lib/TextAPI/MachO/TextStub.cpp 1104 File->ErrorMessage = ("malformed file\n" + Message).str();
lib/ToolDrivers/llvm-lib/LibDriver.cpp 249 (" (inferred from earlier file '" + MB.getBufferIdentifier() + "')")
lib/Transforms/IPO/LowerTypeTests.cpp 910 "__typeid_" + TypeId + "_" + Name, C, &M);
964 Constant *C = M.getOrInsertGlobal(("__typeid_" + TypeId + "_" + Name).str(),
lib/Transforms/IPO/SampleProfile.cpp 1537 "No debug information found in function " + F.getName() +
lib/Transforms/InstCombine/InstCombineSelect.cpp 2247 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2256 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2293 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
2299 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName());
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2100 "__start_" + getGlobalMetadataSection());
2104 "__stop_" + getGlobalMetadataSection());
2356 kODRGenPrefix + NameForGlobal, nullptr,
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1466 ThunkName += ("." + P.first->getName()).str();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 1269 return IsSignedPredicate ? B.CreateSExt(V, RangeTy, "wide." + V->getName())
1270 : B.CreateZExt(V, RangeTy, "wide." + V->getName());
lib/Transforms/Utils/CodeExtractor.cpp 938 StructTy, &*AI, Idx, "gep_" + inputs[i]->getName(), TI);
940 "loadgep_" + inputs[i]->getName(), TI);
1121 StructArgTy, Struct, Idx, "gep_" + StructValues[i]->getName());
1160 StructArgTy, Struct, Idx, "gep_reload_" + outputs[i]->getName());
1263 StructArgTy, &*OAI, Idx, "gep_" + outputs[i]->getName(),
lib/Transforms/Utils/LoopUnrollRuntime.cpp 320 BasicBlock *NewBB = CloneBasicBlock(*BB, VMap, "." + suffix, F);
lib/Transforms/Utils/ModuleUtils.cpp 281 return ("$" + Str).str();
lib/Transforms/Utils/SimplifyCFG.cpp 5084 "switch.table." + FuncName);
lib/Transforms/Utils/SymbolRewriter.cpp 184 report_fatal_error("unable to transforn " + C.getName() + " in " +
lib/Transforms/Vectorize/SLPVectorizer.cpp 3503 ViewGraph(this, "SLP" + F->getName(), false, Str);
tools/clang/include/clang/Tooling/Transformer/MatchConsumer.h 41 "Id not bound: " + Id);
tools/clang/lib/ARCMigrate/FileRemapper.cpp 77 return report("Invalid file data: '" + lines[idx+1] + "' not a number",
85 return report("File does not exist: " + fromFilename, Diag);
91 return report("File does not exist: " + toFilename, Diag);
97 return report("File was modified: " + fromFilename, Diag);
113 return report("Could not create directory: " + outputDir, Diag);
148 return report("Could not create file: " + tempPath.str(), Diag);
tools/clang/lib/ARCMigrate/ObjCMT.cpp 2219 reportDiag("Could not create file: " + TempPath.str(), Diag);
tools/clang/lib/AST/DeclPrinter.cpp 278 T.print(Out, Policy, (Pack ? "..." : "") + DeclName, Indentation);
tools/clang/lib/AST/ItaniumMangle.cpp 3166 ("__" + EltName + "x" + Twine(T->getNumElements()) + "_t").str();
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp 393 return ("(anonymous " + Node.getKindName() + ")").toStringRef(Scratch);
tools/clang/lib/Basic/Targets.cpp 64 Builder.defineMacro("__" + MacroName);
67 Builder.defineMacro("__" + MacroName + "__");
71 Builder.defineMacro("__" + CPUName);
72 Builder.defineMacro("__" + CPUName + "__");
74 Builder.defineMacro("__tune_" + CPUName + "__");
tools/clang/lib/Basic/Targets/ARM.cpp 366 ArchFeature = ("+" + llvm::ARM::getArchName(CPUArch)).str();
603 Builder.defineMacro("__ARM_ARCH_" + CPUAttr + "__");
645 Builder.defineMacro("__ARM_ARCH_PROFILE", "'" + CPUProfile + "'");
tools/clang/lib/Basic/Targets/Mips.h 38 resetDataLayout(("E-" + Layout).str());
40 resetDataLayout(("e-" + Layout).str());
tools/clang/lib/CodeGen/CGExpr.cpp 3053 llvm::BasicBlock *Handlers = createBasicBlock("handler." + CheckName);
3101 createBasicBlock("non_fatal." + CheckName);
3102 llvm::BasicBlock *FatalHandlerBB = createBasicBlock("fatal." + CheckName);
tools/clang/lib/CodeGen/CGObjCMac.cpp 3067 values.add(EmitProtocolList("OBJC_PROTOCOL_REFS_" + PD->getName(),
3079 Entry = values.finishAndCreateGlobal("OBJC_PROTOCOL_" + PD->getName(),
3101 nullptr, "OBJC_PROTOCOL_" + PD->getName());
3131 EmitProtocolMethodTypes("OBJC_PROTOCOL_METHOD_TYPES_" + PD->getName(),
3136 EmitPropertyList("OBJC_$_PROP_PROTO_LIST_" + PD->getName(), nullptr, PD,
3139 EmitPropertyList("OBJC_$_CLASS_PROP_PROTO_LIST_" + PD->getName(), nullptr,
3164 return CreateMetadataVar("_OBJC_PROTOCOLEXT_" + PD->getName(), values,
3388 EmitProtocolList("OBJC_CATEGORY_PROTOCOLS_" + ExtName.str(),
3397 Values.add(EmitPropertyList("_OBJC_$_PROP_LIST_" + ExtName.str(),
3399 Values.add(EmitPropertyList("_OBJC_$_CLASS_PROP_LIST_" + ExtName.str(),
3407 CreateMetadataVar("OBJC_CATEGORY_" + ExtName.str(), Values,
3529 EmitProtocolList("OBJC_CLASS_PROTOCOLS_" + ID->getName(),
3764 return CreateMetadataVar("OBJC_CLASSEXT_" + ID->getName(), values,
3825 CreateMetadataVar("OBJC_CLASS_VARIABLES_" + ID->getName(), ivarList,
3829 GV = CreateMetadataVar("OBJC_INSTANCE_VARIABLES_" + ID->getName(), ivarList,
4926 return ("__DATA," + Section).str();
4927 return ("__DATA," + Section + "," + MachOAttributes).str();
4936 return ("." + Section.substr(2) + "$B").str();
6259 + OID->getObjCRuntimeNameAsString(),
6267 "_OBJC_$_CLASS_PROP_LIST_" + ID->getObjCRuntimeNameAsString(),
6273 "_OBJC_$_PROP_LIST_" + ID->getObjCRuntimeNameAsString(),
6587 + Interface->getObjCRuntimeNameAsString() + "_$_"
6591 values.add(EmitPropertyList("_OBJC_$_PROP_LIST_" + ExtName.str(),
6593 values.add(EmitPropertyList("_OBJC_$_CLASS_PROP_LIST_" + ExtName.str(),
6857 ivarList, Prefix + OID->getObjCRuntimeNameAsString(), CGM);
6926 + PD->getObjCRuntimeNameAsString(),
6938 "_OBJC_$_PROP_LIST_" + PD->getObjCRuntimeNameAsString(),
6945 + PD->getObjCRuntimeNameAsString(),
6953 "_OBJC_$_CLASS_PROP_LIST_" + PD->getObjCRuntimeNameAsString(),
7698 std::string EHTypeName = ("OBJC_EHTYPE_$_" + ClassName).str();
7737 Entry = values.finishAndCreateGlobal("OBJC_EHTYPE_$_" + ClassName,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 9095 MapperCGF.createBasicBlock("omp.array" + Prefix + ".evaldelete");
9096 llvm::BasicBlock *BodyBB = MapperCGF.createBasicBlock("omp.array" + Prefix);
9109 DeleteBit, "omp.array" + Prefix + ".delete");
9112 DeleteBit, "omp.array" + Prefix + ".delete");
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1254 "vbptr." + VBT->ObjectWithVPtr->getName());
tools/clang/lib/Driver/Multilib.cpp 147 Opposite.flags().push_back(("-" + Flag.substr(1)).str());
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp 378 Args.MakeArgString((F.second ? "+" : "-") + F.first()));
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp 189 Features.push_back(Args.MakeArgString("+" + Ext));
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp 119 Args.MakeArgString((F.second ? "+" : "-") + F.first()));
tools/clang/lib/Driver/ToolChains/BareMetal.cpp 159 CmdArgs.push_back(Args.MakeArgString("-lclang_rt.builtins-" +
tools/clang/lib/Driver/ToolChains/Clang.cpp 301 CmdArgs.push_back(Args.MakeArgString("-mprefer-vector-width=" + Value));
541 CmdArgs.push_back(Args.MakeArgString("-fdebug-prefix-map=" + Map));
774 Args.MakeArgString(Twine("-fprofile-exclude-files=" + v)));
785 CmdArgs.push_back(Args.MakeArgString(Twine("-fprofile-filter-files=" + v)));
1612 CmdArgs.push_back(Args.MakeArgString("-mips-ssection-threshold=" + v));
1695 CmdArgs.push_back(Args.MakeArgString("-mips-compact-branches=" + Val));
1840 CmdArgs.push_back(Args.MakeArgString("-x86-asm-syntax=" + Value));
2035 CmdArgs.push_back(Args.MakeArgString("-arm-implicit-it=" + Value));
2365 Args.MakeArgString("-fdenormal-fp-math=" + DenormalFPMath));
2368 CmdArgs.push_back(Args.MakeArgString("-ffp-contract=" + FPContract));
2552 Args.MakeArgString("-ftrivial-auto-var-init=" + TrivialAutoVarInit));
2681 CmdArgs.push_back(Args.MakeArgString("-fno-builtin-" + FuncName));
2797 Args.MakeArgString("-fmodule-map-file=" + BuiltinModuleMap));
3077 << ("-fdiagnostics-color=" + Value).str();
3909 CmdArgs.push_back(Args.MakeArgString("-warn-stack-size=" + v));
4412 CmdArgs.push_back(Args.MakeArgString("-Wlarge-by-value-copy=" + bytes));
4645 CmdArgs.push_back(Args.MakeArgString("-mstack-alignment=" + alignment));
4652 CmdArgs.push_back(Args.MakeArgString("-mstack-probe-size=" + Size));
6048 CmdArgs.push_back(Args.MakeArgString("-x86-asm-syntax=" + Value));
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 85 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name));
202 Features.push_back(Args.MakeArgString("+" + FeatureName));
204 Features.push_back(Args.MakeArgString("-" + FeatureName));
589 CmdArgs.push_back(Args.MakeArgString("--dynamic-list=" + SanRT + ".syms"));
tools/clang/lib/Driver/ToolChains/Darwin.cpp 538 CmdArgs.push_back(Args.MakeArgString("-lto-stats-file=" + StatsFile.str()));
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp 66 CmdArgs.push_back(Args.MakeArgString("-G" + v));
215 CmdArgs.push_back(Args.MakeArgString("-G" + v));
tools/clang/lib/Driver/ToolChains/Gnu.cpp 868 CmdArgs.push_back(Args.MakeArgString("-march=" + CPUName));
tools/clang/lib/Driver/ToolChains/HIP.cpp 113 OptArgs.push_back(Args.MakeArgString("-O" + OOpt));
116 OptArgs.push_back(Args.MakeArgString("-mcpu=" + SubArchName));
142 Args.MakeArgString("-mcpu=" + SubArchName)};
tools/clang/lib/Driver/ToolChains/Hexagon.cpp 140 "-mcpu=hexagon" +
237 CmdArgs.push_back(Args.MakeArgString("-mcpu=hexagon" + CpuVer));
342 CmdArgs.push_back(Args.MakeArgString("-l" + Lib));
tools/clang/lib/Driver/ToolChains/Linux.cpp 608 Loader = ("ld-linux-riscv32-" + ABIName + ".so.1").str();
614 Loader = ("ld-linux-riscv64-" + ABIName + ".so.1").str();
tools/clang/lib/Driver/ToolChains/MSP430.cpp 202 Args.MakeArgString("-T" + StringRef(MCUArg->getValue()) + ".ld"));
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp 138 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix));
tools/clang/lib/Driver/ToolChains/Myriad.cpp 100 Args.MakeArgString("-cv:" + StringRef(CPUArg->getValue())));
tools/clang/lib/Format/ContinuationIndenter.cpp 1521 std::string CanonicalDelimiterSuffix = (")" + NewDelimiter + "\"").str();
tools/clang/lib/Format/Format.cpp 2582 return make_string_error("Invalid fallback style \"" + FallbackStyleName);
2643 return make_string_error("Error reading " + ConfigFile + ": " +
2652 return make_string_error("Configuration file(s) do(es) not support " +
tools/clang/lib/Frontend/ASTUnit.cpp 368 Timer.setOutput("Cache global code completions for " + getMainFileName());
1683 ParsingTimer.setOutput("Parsing " + getMainFileName());
1839 ParsingTimer.setOutput("Reparsing " + getMainFileName());
2149 CompletionTimer.setOutput("Code completion @ " + File + ":" +
tools/clang/lib/Sema/SemaDecl.cpp 9683 << Feature << ("no-" + BareFeat).str();
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 133 report_fatal_error("Module index '" + Buffer->getBufferIdentifier() +
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp 141 (IsCapture ? "'" + PVD->getName() + "'" + " " : "") + "inside " +
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 595 return llvm::Twine("/*captured variable*/" +
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 82 Ret += Twine("/" + Root).str();
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp 549 ("(Enable only for development!) " + Checker.Desc).str());
599 ("(" + Option.OptionType + ") " + Option.Description + " (default: " +
tools/clang/lib/Tooling/CompilationDatabase.cpp 115 ErrorMessage = ("Could not auto-detect compilation database for file \"" +
129 ErrorMessage = ("Could not auto-detect compilation database from directory \"" +
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 397 ErrorMessage = ("Unknown key: \"" +
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp 155 : ("\"" + Header + "\"").str();
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp 548 : ("::" + NewName).str());
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 171 "Unterminated ${...} in replacement template near " +
182 "Invalid $ in replacement template near " +
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp 38 return invalidArgumentError("mismatched type (node id=" + ID +
60 return invalidArgumentError("ID not bound: " + ID);
tools/clang/lib/Tooling/Transformer/SourceCodeBuilders.cpp 69 return ("(" + Text + ")").str();
90 return ("*(" + Text + ")").str();
91 return ("*" + Text).str();
110 return ("&(" + Text + ")").str();
112 return ("&" + Text).str();
125 return ("(" + DerefText + ")->").str();
134 return ("(" + Text + ").").str();
149 return ("(" + DerefText + ").").str();
158 return ("(" + Text + ")->").str();
tools/clang/lib/Tooling/Transformer/Stencil.cpp 40 "Id not bound: " + Id);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 28 Result += ("::" + *I).str();
235 return ("::" + DeclName).str();
258 Code = ("namespace " + NsSplitted.back() + " {\n" + Code +
tools/clang/tools/extra/clang-doc/Generators.cpp 25 "can't find generator: " + Format);
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 315 return genLink(Type.Name, "#" + JumpToSection.getValue());
323 Path += ("#" + JumpToSection.getValue()).str();
411 LIBody->Children.emplace_back(std::make_unique<TextNode>(" " + M.Name));
699 std::make_unique<TextNode>(" " + P.Name));
725 InfoTitle = ("namespace " + I.Name).str();
976 "error creating file " +
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 74 std::string Direction = I.Explicit ? (" " + I.Direction).str() : "";
77 std::string Direction = I.Explicit ? (" " + I.Direction).str() : "";
97 writeLine("<" + I.Name + Attrs.str() + CloseTag, OS);
99 writeLine("</" + I.Name + ">", OS);
109 writeLine("| enum class " + I.Name + " |", OS);
111 writeLine("| enum " + I.Name + " |", OS);
158 writeHeader("namespace " + I.Name, 1, OS);
tools/clang/tools/extra/clang-move/Move.cpp 558 const auto HasName = hasName(("::" + GlobalSymbolName).str());
698 IsAngled ? ("#include <" + IncludeHeader + ">\n").str()
699 : ("#include \"" + IncludeHeader + "\"\n").str();
tools/clang/tools/extra/clang-query/QueryParser.cpp 96 return new InvalidQuery("expected 'true' or 'false', got '" + ValStr + "'");
111 "expected 'diag', 'print', 'detailed-ast' or 'dump', got '" + ValStr +
130 return new InvalidQuery("unexpected extra input: '" + Extra + "'");
248 return new InvalidQuery("unknown variable: '" + VarStr + "'");
277 return new InvalidQuery("unknown variable: '" + VarStr + "'");
300 return new InvalidQuery("unknown command: " + CommandStr);
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp 188 auto Description = ("reordering field " + UM->getName() + " after " +
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 347 std::string ClangTidyCheckName((AnalyzerCheckNamePrefix + CheckName).str());
360 std::string ClangTidyCheckName((AnalyzerCheckNamePrefix + CheckName).str());
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp 35 return ("\"" + SR + Twine(Mode) + "\"").str();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp 79 std::string CastText = ("dynamic_cast<" + DestTypeString + ">").str();
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 175 ReplaceWithCast(("static_cast<" + DestTypeString + ">").str());
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp 80 return (R"(R"()" + Bytes + R"lit()")lit").str();
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp 142 ("redundant void argument list in " + GrammarLocation).str();
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 231 std::string MutableFieldName = ("mutable_" + FieldName).str();
tools/clang/tools/extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp 179 NewFnName = ("std::" + OldFnName).str();
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 132 return ("static_cast<bool>(" + text + ")").str();
176 (isa<BinaryOperator>(E) ? ("(" + getText(Result, *E) + ")")
242 return ("!(" + Text + ")").str();
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 116 IsAngled ? llvm::Twine("#include <" + FileName + ">\n").str()
117 : llvm::Twine("#include \"" + FileName + "\"\n").str();
tools/clang/tools/extra/clangd/AST.cpp 145 return ("(anonymous " + Cls->getKindName() + ")").str();
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 127 "File must be saved first: " +
131 "Files must be saved first: " + LastInvalidFile + " (and " +
tools/clang/tools/extra/clangd/Diagnostics.cpp 407 Diag.Name = ("-W" + Warning).str();
tools/clang/tools/extra/clangd/DraftStore.cpp 49 "Trying to do incremental update on non-added document: " + File,
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp 46 Cmd.CommandLine.push_back(("-resource-dir=" + ResourceDir).str());
tools/clang/tools/extra/clangd/Headers.cpp 43 (IsAngled ? "<" + FileName + ">" : "\"" + FileName + "\"").str();
43 (IsAngled ? "<" + FileName + ">" : "\"" + FileName + "\"").str();
tools/clang/tools/extra/clangd/IncludeFixer.cpp 207 Result.append(("::" + IDTok->getRawIdentifier()).str());
tools/clang/tools/extra/clangd/TUScheduler.cpp 335 Tasks->runAsync("worker:" + llvm::sys::path::filename(FileName),
1004 PreambleTasks->runAsync("task:" + llvm::sys::path::filename(File),
tools/clang/tools/extra/clangd/URI.cpp 40 "path starting with '/': " +
72 return make_string_error("Can't find scheme: " + Scheme);
170 return make_string_error("Scheme must be provided in URI: " + OrigUri);
200 return make_string_error("Not a valid absolute path: " + AbsolutePath);
210 ("Not a valid absolute path: " + AbsolutePath).str().c_str());
244 llvm_unreachable(("Not a valid absolute path: " + AbsPath).str().c_str());
tools/clang/tools/extra/clangd/XRefs.cpp 467 return ("(anonymous " + RD->getKindName() + ")").str();
750 ("#define " + Buffer.substr(StartOffset, EndOffset - StartOffset))
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp 78 : ("\"" + Text + "\"").str());
tools/clang/tools/extra/clangd/index/Serialization.cpp 437 return makeError("missing required chunk " + RequiredChunk);
tools/clang/tools/extra/clangd/refactor/Tweak.cpp 100 "Failed to get absolute path for edited file: " +
tools/clang/tools/extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp 70 ("/* " + toTextMateScope(Token.Kind) + " */").str());
tools/clang/tools/extra/clangd/refactor/tweaks/RawStringLiteral.cpp 94 ("R\"(" + Str->getBytes() + ")\"").str(),
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp 391 "Expect URI body to be an absolute path starting with '/': " + Body,
405 "Path " + AbsolutePath + " doesn't start with root " + TestDir,
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp 561 SCOPED_TRACE("Checking range: " + Name);
tools/clang/tools/extra/clangd/unittests/TestFS.cpp 104 "Hint path doesn't start with test root: " + HintPath,
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp 2150 TU.Code = ("\n\n" + Main.code()).str();
tools/clang/unittests/Format/FormatTest.cpp 99 verifyFormat(llvm::Twine("void f() { " + text + " }").str());
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp 127 ("[{\"directory\":\"" + Directory1 + "\"," + "\"command\":\"" + Command1 +
153 ("[{\"directory\":\"" + Directory2 + "\"," + "\"command\":\"" + Command2 +
198 ("[{\"directory\":\"" + Directory + "\","
299 ("[{\"directory\":\"" + Directory + "\"," +
313 ("[{\"directory\":\"" + Directory + "\"," +
328 ("[{\"directory\":\"" + Directory + "\"," +
345 ("[{\"directory\":\"" + Directory + "\"," +
360 ("{\"directory\":\"" + Directory + Twine(I) + "\"," +
400 ("[{\"directory\":\"//net/root\", \"file\":\"test\", \"command\": \"" +
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp 29 "auto test_snippet = []{" +
tools/clang/unittests/Tooling/StencilTest.cpp 33 return ("struct S { int field; }; auto stencil_test_snippet = []{" +
tools/clang/unittests/Tooling/TransformerTest.cpp 85 std::string Code = ("#include \"header.h\"\n" + Input).str();
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 2052 ("isAttributeSubjectMatchSubRuleFor_" + Rule.getName()).str();
3329 "Could not determine diagnostic spelling for the node: " +
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 620 "Diagnostic '" + Name +
1047 Builder.PrintFatalError("Unknown modifier type: " + Modifier);
1230 PrintFatalError(R.getLoc(), "Error " + R.getName() +
1238 PrintFatalError(R.getLoc(), "Error " + R.getName() +
1729 writeHeader(((IsRemarkGroup ? "-R" : "-W") +
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp 205 SS << " OCLT_" + T->getValueAsString("Name") << ",\n";
tools/clang/utils/TableGen/MveEmitter.cpp 1043 PrintFatalError("Unsupported dag node " + Op->getName());
1060 PrintFatalError("unrecognized variable name '" + Name + "'");
tools/clang/utils/TableGen/NeonEmitter.cpp 1997 ("Intrinsic '" + Name + "' not found!").str());
tools/dsymutil/DwarfLinker.cpp 2600 warn("Could not open '" + File + "'\n");
tools/dsymutil/DwarfStreamer.cpp 722 MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + SecName + "_begin");
723 MCSymbol *EndLabel = Asm->createTempSymbol("pub" + SecName + "_end");
tools/dsymutil/MachODebugMapParser.cpp 344 ArchName = ("arm" + Arch.substr(5)).str();
tools/dsymutil/dsymutil.cpp 198 "invalid accelerator type specified: '" + S +
tools/lld/COFF/Chunks.cpp 84 error("overflow in SECREL relocation in section: " + sec->getSectionName());
261 error("overflow in SECREL_HIGH12A relocation in section: " +
344 os << "relocation against symbol in discarded section: " + name;
558 error("unable to automatically import from " + target->getName() +
579 message("Discarded " + sym->getName());
606 fatal("the section is too short: " + sectionName);
609 fatal("invalid section: " + sectionName);
616 warn("ignoring section " + sectionName + " with unrecognized magic 0x" +
tools/lld/COFF/Driver.cpp 151 return saver.save("_" + sym);
269 error("unknown file type: " + mb.getBufferIdentifier());
350 exp.name = saver.save("_" + exp.name);
352 exp.extName = saver.save("_" + exp.extName);
456 StringRef libName = saver.save("lib" + s.str());
680 warn("/debugtype: unknown option '" + type + "'");
804 MemoryBuffer::getFile(path, -1, false, true), "could not open " + path);
889 MemoryBuffer::getFile(path, -1, false, true), "could not open " + path);
901 warn("/order:" + arg + ": missing symbol: " + s + " [LNK4037]");
989 warn("only %_PDB% and %_EXT% supported in /pdbaltpath:, keeping " +
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 " +
1662 e.name = saver.save("_" + e.name);
1664 e.extName = saver.save("_" + e.extName);
1706 log("Entry name inferred: " + s);
1926 warn("/aligncomm symbol " + name + " not found");
tools/lld/COFF/DriverUtils.cpp 59 fatal("unable to find " + prog + " in PATH: " + ec.message());
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);
195 fatal("/section: invalid argument: " + s);
206 fatal("/section: invalid argument: " + s);
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);
255 fatal("invalid option " + arg);
261 fatal("invalid option " + arg);
264 fatal("invalid option " + arg);
288 fatal("invalid option " + arg);
305 error("/swaprun: invalid argument: " + swaprun);
319 if (auto ec = sys::fs::createTemporaryFile("lld-" + prefix, extn, s))
402 fatal("internal manifest tool failed on file " + filename + ": " +
431 e.add("/out:" + StringRef(user.path));
584 fatal("invalid /export: " + arg);
608 return saver.save("_" + sym);
615 sym = saver.save("_" + sym);
628 fatal("duplicate export ordinal: " + e.name);
661 warn("duplicate /export option: " + e.name);
688 fatal("/failifmismatch: invalid argument: " + arg);
694 fatal("/failifmismatch: mismatch detected for '" + k + "':\n>>> " +
786 error("unknown option: --color-diagnostics=" + s);
794 error("invalid response file quoting: " + s);
tools/lld/COFF/ICF.cpp 305 log("Selected " + chunks[begin]->getDebugName());
307 log(" Removed " + chunks[i]->getDebugName());
tools/lld/COFF/InputFiles.cpp 453 log("comdat section " + name +
839 StringRef impName = saver.save("__imp_" + name);
tools/lld/COFF/LTO.cpp 51 error("cannot open " + file + ": " + ec.message());
tools/lld/COFF/MinGW.cpp 131 if (symtab->find(("__imp_" + sym->getName()).str()))
154 fatal("cannot open " + name + ": " + ec.message());
tools/lld/COFF/PDB.cpp 348 fatal("No signature found for the precompiled headers OBJ (" +
360 "provided! (" +
743 warn("symbol scopes are not balanced in " + file->getName());
847 warn("corrupt symbol records in " + file->getName());
1086 log("ignoring inlinee line record in " + file.getName() +
1343 warn("Cannot open input file: " + file);
tools/lld/COFF/SymbolTable.cpp 241 Symbol *l = find(("__imp_" + name).str());
245 log("Loading lazy " + l->getName() + " from " + l->getFile()->getName() +
254 return dyn_cast_or_null<Defined>(find(("__imp_" + name).str()));
270 log("Automatically importing " + name + " from " +
274 log("Automatically importing " + name + " from " +
278 warn("unable to automatically import " + name + " from " + imp->getName() +
292 dyn_cast_or_null<DefinedRegular>(find((".refptr." + name).str()));
296 log("Replacing .refptr." + name + " with " + imp->getName());
725 return find(("_" + name).str());
764 return findByPrefix("?" + name + "@@Y");
772 if (Symbol *s = findByPrefix("@" + name.substr(1) + "@"))
778 return findByPrefix("?" + name.substr(1) + "@@Y");
tools/lld/COFF/Writer.cpp 875 log("Processing section " + pSec->name + " -> " + name);
1192 fatal("/merge: cycle found for section '" + p.first + "'");
1248 error("section larger than 4 GiB: " + sec->name);
1467 "failed to open " + path);
1474 error("/safeseh: " + file->getName() + " is not compatible with SEH");
1637 warn("ignoring " + c->getSectionName() +
1649 warn("ignoring invalid symbol table index in section " +
tools/lld/Common/Args.cpp 58 error("invalid " + key + ": " + kv.second);
tools/lld/Common/Reproduce.cpp 47 return ("\"" + s + "\"").str();
tools/lld/Common/Strings.cpp 59 error("not a hexadecimal value: " + b);
tools/lld/ELF/CallGraphSort.cpp 239 error("cannot open " + config->printSymbolOrder + ": " + ec.message());
tools/lld/ELF/Driver.cpp 150 error("unknown emulation: " + emul);
243 error("attempted static link of dynamic object " + path);
277 error("unable to find library -l" + name);
417 error("unknown -z value: " + StringRef(arg->getValue()));
531 error("unknown --unresolved-symbols value: " + s);
560 error("unknown --target2 option: " + s);
569 error("unknown --oformat value: " + s);
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);
769 error("unknown --compress-debug-sections value: " + s);
975 parseClangOption(saver.save("-mcpu=" + StringRef(arg->getValue())),
1015 error("unknown -hash-style: " + s);
1142 error("unknown -format value: " + s +
1165 error("-defsym: syntax error: " + StringRef(arg->getValue()));
1312 error("-image-base: number expected, but got " + s);
1316 warn("-image-base: address isn't multiple of page size: " + s);
1466 warn("could not find symbol " + name + " to keep unique");
1619 Symbol *real = addUndefined(saver.save("__real_" + name));
1620 Symbol *wrap = addUndefined(saver.save("__wrap_" + name));
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);
231 if (Optional<std::string> s = findFile(dir, "lib" + name + ".so"))
233 if (Optional<std::string> s = findFile(dir, "lib" + name + ".a"))
tools/lld/ELF/EhFrame.cpp 193 failOn(aug.data(), "unknown .eh_frame augmentation string: " + aug);
tools/lld/ELF/InputFiles.cpp 113 error("cannot open " + path + ": " + ec.message());
608 error("a section " + isec->name +
1265 warn("found local symbol '" + name +
1517 error("incompatible file: " + this->mb.getBufferIdentifier());
tools/lld/ELF/InputSection.cpp 233 name = saver.save("." + name.substr(2));
450 warn("relocation refers to a discarded section: " +
560 fatal("SBREL relocation to " + sym.getName() + " without static base");
573 error("R_RISCV_PCREL_LO12 relocation points to an absolute symbol: " +
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 +
271 error("unable to INSERT AFTER/BEFORE " + p.first +
446 error("discarding " + s->name + " section is not allowed");
792 error("no memory region specified for section '" + sec->name + "'");
tools/lld/ELF/MapFile.cpp 149 error("cannot open " + config->mapFile + ": " + ec.message());
tools/lld/ELF/MarkLive.cpp 263 cNamedSections[saver.save("__start_" + sec->name)].push_back(sec);
264 cNamedSections[saver.save("__stop_" + sec->name)].push_back(sec);
309 if (symtab->find(("__start_" + sec->name).str()) ||
310 symtab->find(("__stop_" + sec->name).str()))
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/ScriptParser.cpp 182 setError("EOF expected, but got " + next());
197 setError("EOF expected, but got " + next());
263 setError("unknown directive: " + tok);
273 setError("EOF expected, but got " + next());
304 setError("unable to find " + s);
354 setError("cannot find linker script " + tok);
418 setError("unknown output format name: " + name);
449 setError("unexpected header attribute: " + next());
464 setError("redefinition of memory region '" + alias + "'");
466 setError("memory region '" + name + "' is not defined");
555 setError("expected AFTER/BEFORE, but got '" + next() + "'");
579 setError("unknown target: " + tok);
765 setError("unknown section directive: " + peek2());
1050 setError("unknown constant: " + s);
1222 setError("memory region not defined: " + name);
1249 setError("memory region not defined: " + name);
1283 setError("malformed number: " + tok);
1336 setError("invalid program header type: " + tok);
1446 setError("expected one of: " + s1 + ", " + s2 + ", or " + s3);
1481 setError("region '" + tok + "' already defined");
tools/lld/ELF/SymbolTable.cpp 182 error("version script assignment of '" + versionName + "' to symbol '" +
192 return ("version '" + config->versionDefinitions[ver].name + "'").str();
212 warn("attempt to reassign symbol '" + ver.name + "' of " +
tools/lld/ELF/Symbols.cpp 482 warn("backward reference detected: " + other.getName() + " in " +
536 warn("multiple common of " + getName());
542 warn("common " + getName() + " is overridden");
548 warn("common " + getName() + " is overridden");
tools/lld/ELF/Thunks.cpp 353 addSymbol(saver.save("__AArch64AbsLongThunk_" + destination.getName()),
379 addSymbol(saver.save("__AArch64ADRPThunk_" + destination.getName()), STT_FUNC,
479 addSymbol(saver.save("__ARMv7ABSLongThunk_" + destination.getName()),
497 addSymbol(saver.save("__Thumbv7ABSLongThunk_" + destination.getName()),
518 addSymbol(saver.save("__ARMV7PILongThunk_" + destination.getName()), STT_FUNC,
539 addSymbol(saver.save("__ThumbV7PILongThunk_" + destination.getName()),
554 addSymbol(saver.save("__ARMv5ABSLongThunk_" + destination.getName()),
580 addSymbol(saver.save("__ARMV5PILongThunk_" + destination.getName()), STT_FUNC,
610 addSymbol(saver.save("__Thumbv6MABSLongThunk_" + destination.getName()),
636 addSymbol(saver.save("__Thumbv6MPILongThunk_" + destination.getName()),
654 addSymbol(saver.save("__LA25Thunk_" + destination.getName()), STT_FUNC, 0,
678 saver.save("__microLA25Thunk_" + destination.getName()), STT_FUNC, 0, isec);
702 saver.save("__microLA25Thunk_" + destination.getName()), STT_FUNC, 0, isec);
783 Defined *s = addSymbol(saver.save("__plt_" + destination.getName()), STT_FUNC,
794 addSymbol(saver.save("__long_branch_" + destination.getName()), STT_FUNC, 0,
tools/lld/ELF/Writer.cpp 105 return saver.save(".rela" + out->name);
106 return saver.save(".rel" + out->name);
1254 warn("symbol ordering file: no such symbol: " + orderEntry.first);
2016 addOptionalRegular(saver.save("__start_" + s), sec, 0, STV_PROTECTED);
2017 addOptionalRegular(saver.save("__stop_" + s), sec, -1, STV_PROTECTED);
2102 error("section: " + sec->name + " is not contiguous with other relro" +
2375 error("unable to place section " + sec->name + " at file offset " +
2446 errorOrWarn("section " + a.sec->name + " " + name +
2464 errorOrWarn("section " + os->name + " at 0x" + utohexstr(os->addr) +
2528 warn("cannot find entry symbol " + config->entry + "; defaulting to 0x" +
2535 warn("cannot find entry symbol " + config->entry +
2601 error("failed to open " + config->outputFile + ": " +
tools/lld/MinGW/Driver.cpp 128 error("unable to find library -l" + name);
134 if (Optional<std::string> s = findFile(dir, "lib" + name + ".dll.a"))
139 if (Optional<std::string> s = findFile(dir, "lib" + name + ".a"))
144 if (Optional<std::string> s = findFile(dir, "lib" + name + ".dll")) {
156 error("unable to find library -l" + name);
205 add("-entry:" + s.substr(1));
207 add("-entry:" + s);
230 add("-subsystem:" + subSys + "," + major + sep + minor);
232 add("-subsystem:" + StringRef(a->getValue()));
236 add("-implib:" + StringRef(a->getValue()));
238 add("-stack:" + StringRef(a->getValue()));
240 add("-output-def:" + StringRef(a->getValue()));
242 add("-base:" + StringRef(a->getValue()));
244 add("-lldmap:" + StringRef(a->getValue()));
246 add("-reproduce:" + StringRef(a->getValue()));
249 add("-out:" + StringRef(a->getValue()));
259 add("-pdb:" + v);
300 error("unknown parameter: --icf=" + s);
316 error("unknown parameter: -m" + s);
320 add("-mllvm:" + StringRef(a->getValue()));
331 add("-include:" + StringRef(a->getValue()));
333 add("-includeoptional:" + StringRef(a->getValue()));
335 add("-delayload:" + StringRef(a->getValue()));
340 add("-libpath:" + StringRef(a->getValue()));
349 add("-def:" + StringRef(a->getValue()));
tools/lld/lib/Core/Resolver.cpp 226 llvm::errs() << "Cannot open " + file->path()
255 llvm::errs() << "Error in " + file->path() << ": ";
269 llvm::errs() << "Error in " + file->path() << ": ";
282 llvm::errs() << "Error in " + file->path() << ": ";
tools/lld/lib/Driver/DarwinLdDriver.cpp 643 message(" " + path);
647 message(" " + path);
1074 error("Unable to find library for " + arg->getSpelling() +
1088 error("Unable to find framework for " + arg->getSpelling() + " " +
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 248 "(" + MachOLinkingContext::nameFromArch(arch)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 741 "Non-zero addend for BNSYM '" + stabSym.name + "' in " +
764 currentAtom = findDefinedAtomByName(file, "_" + name);
780 "can't find atom for N_GSYM stabs" + stabSym.name +
786 "old-style N_FUN stab '" + stabSym.name + "' unsupported");
789 "unrecognized stab symbol '" + stabSym.name + "'");
808 "unrecognized stab symbol '" + stabSym.name + "'");
887 return llvm::make_error<GenericError>("Malformed DWARF in " + path);
892 return llvm::make_error<GenericError>("Unsupported DWARF version in " +
964 return llvm::make_error<GenericError>("Malformed __debug_info section in " +
968 return llvm::make_error<GenericError>("Missing __dwarf_abbrev section in " +
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp 785 + MachOLinkingContext::nameFromArch(_arch)
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp 85 "variables in " + atom->name() + " for architecture " +
tools/lld/tools/lld/lld.cpp 124 die("Unknown flavor: " + StringRef(v[2]));
tools/lld/wasm/Driver.cpp 145 error("unknown option: --color-diagnostics=" + s);
254 error("unknown file type: " + mbref.getBufferIdentifier());
261 if (Optional<std::string> s = findFile(dir, "lib" + name + ".a")) {
267 error("unable to find library -l" + name);
603 Symbol *real = addUndefined(saver.save("__real_" + name));
604 Symbol *wrap = addUndefined(saver.save("__wrap_" + name));
733 error("entry symbol not defined (pass --no-entry to supress): " +
tools/lld/wasm/InputChunks.cpp 83 warn("unexpected existing value for " + relocTypeToString(rel.Type) +
tools/lld/wasm/InputFiles.cpp 46 log("Loading: " + path);
50 error("cannot open " + path + ": " + ec.message());
77 fatal("unknown file type: " + mb.getBufferIdentifier());
486 "could not get the member for symbol " + sym->getName());
498 "could not get the buffer for the member defining symbol " +
tools/lld/wasm/OutputSections.cpp 75 debugWrite(os.tell(), "section type [" + getSectionName() + "]");
tools/lld/wasm/SymbolTable.cpp 162 error("Global type mismatch: " + existing->getName() + "\n>>> defined as " +
180 error("Event type mismatch: " + existing->getName() + "\n>>> defined as " +
184 warn("Event signature mismatch: " + existing->getName() +
669 std::string msg = ("function signature mismatch: " + symName +
693 LLVM_DEBUG(dbgs() << " variant: " + f->getName() << " "
tools/lld/wasm/Writer.cpp 330 symtab->addOptionalDataSymbol(saver.save("__start_" + name), start);
331 symtab->addOptionalDataSymbol(saver.save("__stop_" + name), stop);
1077 log("writing: " + config->outputFile);
1084 error("failed to open " + config->outputFile + ": " +
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 859 return llvm::make_error<llvm::object::GenericBinaryError>("No " + section +
tools/lldb/source/Symbol/TypeSystem.cpp 239 "TypeSystem for language " +
256 "TypeSystem for language " +
266 "Unable to find type system for language " +
279 "TypeSystem for language " +
308 "TypeSystem for language " +
325 "TypeSystem for language " +
335 "Unable to find type system for language " +
348 "TypeSystem for language " +
tools/lldb/source/Target/Target.cpp 2436 "Could not find entry point address for executable module \"" +
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp 73 args.AppendArgument(("--log-file=" + Log).str());
tools/llvm-ar/llvm-ar.cpp 245 fail("value for [count] must be numeric, got: " + CountParamArg);
247 fail("value for [count] must be positive, got: " + CountParamArg);
1065 fail("unknown command: " + CommandStr);
tools/llvm-cov/CodeCoverage.cpp 521 warning("The file '" + SourceFile + "' isn't covered.");
tools/llvm-cxxmap/llvm-cxxmap.cpp 101 warn("symbol " + Symbol + " is equivalent to earlier symbol " +
119 warn("no new symbol matches old symbol " + Symbol,
tools/llvm-dwarfdump/llvm-dwarfdump.cpp 60 return O.error("'" + Arg + "' value invalid for integer argument!");
tools/llvm-dwp/llvm-dwp.cpp 367 ("failure while decompressing compressed section: '" + Name + "', " +
tools/llvm-exegesis/lib/SnippetFile.cpp 124 return make_error<Failure>("cannot read snippet: " + Filename + ": " +
tools/llvm-jitlink/llvm-jitlink-macho.cpp 54 "GOT entry \"" + TargetSym.getName() + "\" in " + G.getName() + ", \"" +
81 "distinct (duplicate: \"" +
102 return make_error<StringError>("Encountered duplicate section name \"" +
tools/llvm-jitlink/llvm-jitlink.cpp 463 return make_error<StringError>("file \"" + FileName + "\" not recognized",
475 return make_error<StringError>("no section \"" + SectionName +
489 return make_error<StringError>("no stub for \"" + TargetName +
503 return make_error<StringError>("no GOT entry for \"" + TargetName +
643 return make_error<StringError>("Invalid absolute define \"" + AbsDefStmt +
651 return make_error<StringError>("Invalid address expression \"" + AddrStr +
tools/llvm-lipo/llvm-lipo.cpp 184 reportError(("archive member " + Bin->getFileName() +
188 reportError(("archive member " + Bin->getFileName() +
194 reportError(("archive member " + O->getFileName() + " cputype (" +
211 reportError(("empty archive with no architecture specification: " +
279 reportError("missing argument to " +
440 reportError("File " + IF.FileName + " has unsupported binary format");
451 reportError("specified architecture: " + *IF.ArchType +
554 reportError("input file " +
565 reportError("fat input file " + UO->getFileName() +
617 reportError("-segalign " + Arch +
752 reportError("replacement file: " + ReplacementBinary->getFileName() +
777 reportError("input file " +
799 reportError("-replace " + ReplacementSlices.begin()->first() +
tools/llvm-lto/llvm-lto.cpp 315 error(BufferOrErr, "error loading file '" + Path + "'");
317 CurrentActivity = ("loading file '" + Path + "'").str();
455 error(EC, "error creating the directory '" + ParentPath + "'");
468 std::string CurrentActivity = ("loading file '" + Filename + "'").str();
514 error(EC, "error opening the file '" + Filename + "'");
tools/llvm-mca/CodeRegion.cpp 58 "region " + Description + " was previously defined here");
102 "unable to find an active region named " + Description);
tools/llvm-objcopy/COFF/COFFObjcopy.cpp 47 error("'" + File + "': " + LinkTargetOrErr.getError().message());
tools/llvm-objcopy/CopyConfig.cpp 316 ("^" + Pattern.ltrim('^').rtrim('$') + "$").toStringRef(Data)));
tools/llvm-objcopy/ELF/Object.cpp 1264 error("could not find partition named '" + *ExtractPartition + "'");
1371 error("symbol '" + Name +
1385 "symbol '" + Name + "' has invalid section index " + Twine(Index));
1389 "symbol '" + Name +
1395 Sym.st_shndx, "symbol '" + Name +
tools/llvm-objdump/MachODump.cpp 2443 "Mach-O universal file for architecture " +
2451 << "file: " + Filename + " does not contain "
2502 reportError(Filename, "Mach-O universal file for architecture " +
2558 reportError(Filename, "Mach-O universal file for architecture " +
tools/llvm-objdump/llvm-objdump.cpp 461 reportCmdLineWarning("section '" + S +
1523 reportWarning("failed to disassemble missing function " + MissingDisasmFunc,
1601 "Unrecognized disassembler option: " + Opt);
tools/llvm-profdata/llvm-profdata.cpp 671 exitWithError("No input files specified. See " +
tools/llvm-rc/llvm-rc.cpp 150 fatalError("Invalid code page: " +
tools/llvm-readobj/ELFDumper.cpp 1468 reportWarning(createError("The SHT_DYNAMIC section '" + Name +
1474 reportWarning(createError("The SHT_DYNAMIC section '" + Name +
4927 reportWarning(createError("section " + StackSizeSectionName +
5225 << ") in a group " + G.Name + " (" << G.Index
5226 << ") is already in a group " + MainGroup->Name + " ("
tools/llvm-rtdyld/llvm-rtdyld.cpp 175 return make_error<StringError>("No file named " + FileName,
180 return make_error<StringError>("No section named \"" + SectionName +
606 report_fatal_error("Invalid section specification '" + Mapping +
619 report_fatal_error("Invalid section address in mapping '" + Mapping +
876 return make_error<StringError>("Stub container not found: " +
880 return make_error<StringError>("Symbol name " + SymbolName +
949 ErrorAndExit("RTDyld reported an error applying relocations:\n " +
tools/llvm-size/llvm-size.cpp 660 error("mach-o universal file for architecture " +
742 error("mach-o universal file for architecture " +
819 error("mach-o universal file for architecture " +
tools/llvm-stress/llvm-stress.cpp 90 return O.error("Invalid IR scalar type: '" + Arg + "'!");
tools/obj2yaml/elf2yaml.cpp 467 "unable to resolve sh_link reference in section '" + S.Name +
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 207 return ("Invalid instruction terminates BB: " + BB->getName()).str();
286 return ("Condition based on 'undef' value in BB: " + BB->getName()).str();
301 return ("Condition in BB '" + BB->getName()).str() +
317 return ("undef operand in branch at BB: " + BB->getName()).str();
332 return ("Non affine branch in BB '" + BB->getName()).str() +
481 return "Loop " + L->getHeader()->getName() + " has no exit.";
506 return "Loop " + L->getHeader()->getName() + " has multiple exits.";
531 return "Not all latches of loop " + L->getHeader()->getName() +
tools/polly/lib/CodeGen/BlockGenerators.cpp 252 NewInst->setName("p_" + Inst->getName());
431 CopyBB->setName("polly.stmt." + BB->getName());
642 CondInst->setName("polly." + Subject + ".cond");
1372 CopyBB->setName("polly.stmt." + BB->getName());
1478 EntryBBCopy->setName("polly.stmt." + EntryBB->getName() + ".entry");
1544 ExitBBCopy->setName("polly.stmt." + R->getExit()->getName() + ".exit");
1640 "polly." + OrigPHI->getName(),
1790 Builder.CreatePHI(PHI->getType(), NumIncoming, "polly." + PHI->getName());
tools/polly/lib/CodeGen/IslExprBuilder.cpp 277 Builder.CreateBitCast(Base, PointerTy, "polly.access.cast." + BaseName);
306 IndexOp = createAdd(IndexOp, NextIndex, "polly.access.add." + BaseName);
327 "polly.access.sext." + BaseName);
330 "polly.access.sext." + BaseName);
331 IndexOp = createMul(IndexOp, DimSize, "polly.access.mul." + BaseName);
334 Access = Builder.CreateGEP(Base, IndexOp, "polly.access." + BaseName);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1302 AccInstTy, 2, "polly.preload." + AccInst->getName() + ".merge");
tools/polly/lib/CodeGen/LoopGenerators.cpp 237 Address->setName("polly.subfn.storeaddr." + Values[i]->getName());
249 NewValue->setName("polly.subfunc.arg." + OldValues[i]->getName());
tools/polly/lib/Support/ScopHelper.cpp 284 InstClone->setName(Name + Inst->getName());
tools/sancov/sancov.cpp 1072 fail("Duplicate binary file with a short name: " + ShortFileName);
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.h 159 return make_error<StringError>("Symbol \"" + SymbolName + "\" not found",
unittests/Support/CommandLineTest.cpp 1177 EXPECT_EQ(Output, (" --" + Opt + "=<value> - " + HelpText + "\n"
1190 (" --" + Opt + " - " + HelpText + "\n"
1203 EXPECT_EQ(Output, (" --" + Opt + " - " + HelpText + "\n"
1217 EXPECT_EQ(Output, (" --" + Opt + "=<value> - " + HelpText + "\n"
1230 (" --" + Opt + "=<value> - " + HelpText + "\n"
1255 size_t ExpectedStrSize = (" --" + ArgName + "=<value> - ").str().size();
1263 size_t ExpectedStrSize = (" =" + OptName + " - ").str().size();
1272 size_t ExpectedStrSize = (" =" + OptName + " - ").str().size();
1297 size_t ExpectedStrSize = (" -" + ArgName + "=<value> - ").str().size();
unittests/Support/DJBTest.cpp 53 SCOPED_TRACE("Comparing '" + T.One + "' and '" + T.Two + "'");
75 SCOPED_TRACE("Text: '" + T.Text + "'");
unittests/Support/FileCheckTest.cpp 38 Str += Twine(First ? "{" + S : ", " + S).str();
38 Str += Twine(First ? "{" + S : ", " + S).str();
utils/TableGen/AsmMatcherEmitter.cpp 847 "unknown source two-operand alias operand '" + Ops.first +
851 "unknown destination two-operand alias operand '" +
926 "Instruction '" + TheDef->getName() + "' has no tokens");
933 "Invalid instruction mnemonic '" + Mnemonic + "'!");
1083 "matchable with operand modifier '" + Tok +
1166 "Record `" + Rec->getName() +
1178 PrintFatalError(Rec->getLoc(), "RegisterOperand `" + Rec->getName() +
1192 PrintFatalError(Rec->getLoc(), "Operand `" + Rec->getName() +
1681 "error: unable to find operand: '" + OperandName + "'");
1756 "error: unable to find operand: '" + OperandName + "'");
1885 PrintFatalError(TheDef->getLoc(), "Instruction '" +
1916 "Operand '" + T.first + "' can never be matched");
2043 std::string Signature = ("ConvertCustom_" + AsmMatchConverter).str();
2707 PrintFatalError(R->getLoc(), "Predicate '" + ReqFeatures[i]->getName() +
3121 Name += ("_" + Feature->getName()).str();
utils/TableGen/AsmWriterEmitter.cpp 529 "Register definition missing alt name for '" +
965 Cond = ("!STI.getFeatureBits()[" + Namespace + "::" + Op.substr(1) +
970 ("STI.getFeatureBits()[" + Namespace + "::" + Op + "]").str();
utils/TableGen/AsmWriterInst.cpp 98 "Non-supported escaped character found in instruction '" +
138 "Reached end of string before terminating curly brace in '" +
147 "Reached end of string before terminating curly brace in '" +
157 "Bad operand modifier name in '" +
164 "Variable name beginning with '{' did not end with '}' in '" +
170 "Stray '$' in '" + CGI.TheDef->getName() +
utils/TableGen/CodeEmitterGen.cpp 337 Name += ("_" + Feature->getName()).str();
utils/TableGen/CodeGenDAGPatterns.cpp 999 Code += ("if (cast<MemSDNode>(N)->getMemoryVT() != MVT::" +
1038 Code += ("if (cast<" + SDNodeName +
1077 Code += ("if (cast<" + SDNodeName +
1295 std::string Result = (" " + getImmType() + " Imm = ").str();
1475 "Unrecognized SDTypeConstraint '" + R->getName() + "'!\n");
2037 TP.error("'" + Op->getName() + "' fragment requires " +
2199 TP.error("Unknown node flavor used in pattern: " + R->getName());
2317 TP.error("Instruction '" + InstName + "' was provided " + Twine(Actual) +
2324 TP.error("Instruction '" + InstName +
2588 TP.error("Node transform '" + getOperator()->getName() +
2681 PrintError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg);
2787 error("Unrecognized node '" + Operator->getName() + "'!");
2793 error("Cannot use '" + Operator->getName() + "' in an input pattern!");
2796 error("Cannot use '" + Operator->getName() + "' in an output pattern!");
2812 error("Cannot use '" + Operator->getName() + "' in an output pattern!");
3147 P->error("'" + ArgNameStr +
3154 P->error("Operands list does not contain an entry for operand '" +
3245 I.error("Input " + DI->getDef()->getName() + " must be named!");
3634 " void types, has types " +
utils/TableGen/CodeGenHwModes.cpp 35 PrintError(R->getLoc(), "in record " + R->getName() +
utils/TableGen/CodeGenInstruction.cpp 72 PrintFatalError(R->getLoc(), "Illegal operand for the '" + R->getName() +
99 "Bad value for MIOperandInfo in operand '" +
118 PrintFatalError(R->getLoc(), "Unknown operand class '" + Rec->getName() +
124 PrintFatalError(R->getLoc(), "In instruction '" + R->getName() +
129 "In instruction '" + R->getName() + "', operand #" +
155 PrintFatalError(TheDef->getLoc(), "'" + TheDef->getName() +
239 Rec->getLoc(), "Illegal format for @earlyclobber constraint in '" +
266 Rec->getLoc(), "Illegal format for tied-to constraint in '" +
302 Rec->getLoc(), "Operand '" + SrcOpName + "' of '" + Rec->getName() +
314 Rec->getLoc(), "Operand '" + DestOpName + "' of '" + Rec->getName() +
577 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() +
691 PrintFatalError(R->getLoc(), "result value $" + Result->getArgNameStr(i) +
utils/TableGen/CodeGenMapTable.cpp 131 PrintFatalError(MapRec->getLoc(), "InstrMapping record `" +
140 PrintFatalError(MapRec->getLoc(), "Record `" + MapRec->getName() +
354 PrintFatalError("Multiple matches found for `" + KeyInstr->getName() +
527 PrintFatalError("Record `" + CurMap->getName() + "', field "
utils/TableGen/CodeGenRegisters.cpp 363 PrintFatalError(Loc, "Register " + getName() +
380 PrintFatalError(Loc, "Sub-register can't have two names: " +
539 PrintFatalError(TheDef->getLoc(), "No SubRegIndex for " +
752 "RegTypes list member '" + Type->getName() +
784 PrintFatalError(R->getLoc(), " AltOrder register " + Reg->getName() +
utils/TableGen/CodeGenSchedule.cpp 159 PrintFatalError(Loc, "instregex has no matches: " + Original);
250 PrintError(R->getLoc(), "STIPredicate " + Name + " multiply declared.");
456 "TIIPredicate " + Name + " is multiply defined.");
458 " Previous definition of " + Name + " was here.");
1088 "Overlapping InstRW definition for \"" +
1124 "Overlapping InstRW definition for \"" +
1207 + ModelDef->getName());
1259 + ItinClassDef->getName()
1777 + PM.ProcResourceDefs[j]->getName()
1945 "No schedule information for instruction '" +
1999 + ItinClassDef->getName()
2071 + ProcResKind->getName());
2082 + ProcResKind->getName());
2090 + ProcResKind->getName());
utils/TableGen/CodeGenTarget.cpp 566 PrintFatalError(R->getLoc(), "Unsupported SD Node property '" +
utils/TableGen/DFAEmitter.cpp 320 Twine Ty = "TypeOf_" + A;
utils/TableGen/ExegesisEmitter.cpp 45 PrintFatalError("no pfm counter id for " + Name);
85 "duplicate ResourceName " + ResourceName);
utils/TableGen/GlobalISel/CodeExpander.cpp 75 "Attempting to expand an undeclared variable " + Var);
utils/TableGen/GlobalISelEmitter.cpp 231 Explanation += (" MemVT=" + VT->getName()).str();
233 Explanation += (" ScalarVT(MemVT)=" + VT->getName()).str();
280 return (" (" + Operator->getValueAsString("Opcode") + ")").str();
283 return (" (Operator is an Intrinsic, " + Operator->getName() + ")").str();
286 return (" (Operator is an unmapped ComplexPattern, " + Operator->getName() +
291 return (" (Operator is an unmapped SDNodeXForm, " + Operator->getName() +
295 return (" (Operator " + Operator->getName() + " not understood)").str();
388 Name += ("_" + Feature->getName()).str();
924 "Complex suboperand referenced more than once (Operand: " +
1287 << MatchTable::NamedValue(("GICP_" + TheDef.getName()).str())
1845 << MatchTable::NamedValue(("(int64_t)AtomicOrdering::" + Order).str())
3025 ("Failed to lookup instruction " + SymbolicName).str().c_str());
3033 PrintFatalError(SrcLoc, "Register " + Reg->getName() +
3045 PrintFatalError(SrcLoc, "Operand " + Name + " was not declared in matcher");
3761 return failedImport("SelectionDAG ComplexPattern (" + R->getName() +
4826 (" = GIPFP_" + TypeIdentifier + "_Invalid + 1,\n").str();
5020 emitSourceFileHeader(("Global Instruction Selector for the " +
utils/TableGen/InstrInfoEmitter.cpp 717 "Invalid TSFlags bit in " + Inst.TheDef->getName());
utils/TableGen/IntrinsicEmitter.cpp 866 "Intrinsic '" + Ints[i].TheDef->getName() +
utils/TableGen/PseudoLoweringEmitter.cpp 94 "Pseudo operand type '" + DI->getDef()->getName() +
136 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
142 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
146 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
182 "Pseudo output operand '" + Dag->getArgNameStr(i) +
utils/TableGen/RISCVCompressInstEmitter.cpp 257 "Input operands for Inst '" + Inst.TheDef->getName() +
262 "Inst '" + Inst.TheDef->getName() +
274 "Inst '" + Inst.TheDef->getName() +
318 "Input Operand '" + SourceDag->getArgNameStr(i) +
323 PrintFatalError(Rec->getLoc(), "Operand " + SourceDag->getArgNameStr(i) +
330 "Output Dag operand '" +
372 "Output Dag operand '" +
417 PrintFatalError(Rec->getLoc(), "Input instruction '" + Operator->getName() +
429 PrintFatalError(Rec->getLoc(), "Output instruction '" +
utils/TableGen/SDNodeProperties.cpp 41 PrintFatalError(R->getLoc(), "Unknown SD Node property '" +
utils/TableGen/SearchableTableEmitter.cpp 676 if (auto TypeOfVal = TableRec->getValue(("TypeOf_" + FieldName).str())) {