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

References

lib/MC/MCParser/COFFAsmParser.cpp
  185         return TokError("conflicting section flags 'b' and 'd'.");
  192         return TokError("conflicting section flags 'b' and 'd'.");
  241       return TokError("unknown flag");
  283         return TokError("expected identifier in directive");
  293         return TokError("unexpected token in directive");
  314     return TokError("unexpected token in section switching directive");
  351     return TokError("expected identifier in directive");
  361       return TokError("expected string in directive");
  379       return TokError("expected comdat type such as 'discard' or 'largest' "
  386       return TokError("expected comma in directive");
  390       return TokError("expected identifier in directive");
  394     return TokError("unexpected token in directive");
  410     return TokError("expected identifier in directive");
  426     return TokError("unexpected token in directive");
  439     return TokError("unexpected token in directive");
  455     return TokError("expected identifier in directive");
  466     return TokError("unexpected token in directive");
  485       return TokError("expected identifier in directive");
  515     return TokError("expected identifier in directive");
  518     return TokError("unexpected token in directive");
  530     return TokError("expected identifier in directive");
  533     return TokError("unexpected token in directive");
  545     return TokError("expected identifier in directive");
  548     return TokError("unexpected token in directive");
  572     return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'"));
  600     return TokError("unexpected token in directive");
  611     return TokError("unexpected token in directive");
  644     return TokError("you must specify one or both of @unwind or @except");
  655     return TokError("unexpected token in directive");
  676     return TokError("unexpected token in directive");
  692     return TokError("a handler attribute must begin with '@'");
lib/MC/MCParser/DarwinAsmParser.cpp
  477     return TokError("unexpected token in section switching directive");
  505     return TokError("expected identifier in directive");
  511     return TokError(".alt_entry must preceed symbol definition");
  514     return TokError("unable to emit symbol attribute");
  525     return TokError("expected identifier in directive");
  531     return TokError("unexpected token in '.desc' directive");
  539     return TokError("unexpected token in '.desc' directive");
  564     return TokError("expected identifier in .indirect_symbol directive");
  570     return TokError("non-local symbol required in directive");
  573     return TokError("unable to emit indirect symbol attribute for: " + Name);
  576     return TokError("unexpected token in '.indirect_symbol' directive");
  589     return TokError("expected string in '.dump' or '.load' directive");
  594     return TokError("unexpected token in '.dump' or '.load' directive");
  612       return TokError("expected string in '" + Twine(IDVal) + "' directive");
  624       return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
  637     return TokError("expected identifier in directive");
  643     return TokError("unexpected token in '.lsym' directive");
  651     return TokError("unexpected token in '.lsym' directive");
  659   return TokError("directive '.lsym' is unsupported");
  673     return TokError("unexpected token in '.section' directive");
  685     return TokError("unexpected token in '.section' directive");
  747     return TokError(".popsection without corresponding .pushsection");
  756     return TokError(".previous without corresponding .section");
  766     return TokError("unexpected token in '.secure_log_unique' directive");
  805     return TokError("unexpected token in '.secure_log_reset' directive");
  818     return TokError("unexpected token in '.subsections_via_symbols' directive");
  833     return TokError("expected identifier in directive");
  839     return TokError("unexpected token in directive");
  857     return TokError("unexpected token in '.tbss' directive");
  888     return TokError("expected segment name after '.zerofill' directive");
  891     return TokError("unexpected token in directive");
  897     return TokError("expected section name after comma in '.zerofill' "
  912     return TokError("unexpected token in directive");
  918     return TokError("expected identifier in directive");
  924     return TokError("unexpected token in directive");
  942     return TokError("unexpected token in '.zerofill' directive");
  982     return TokError("expected region type after '.data_region' directive");
 1000     return TokError("unexpected token in '.end_data_region' directive");
 1017     return TokError(Twine("invalid ") + VersionName +
 1021     return TokError(Twine("invalid ") + VersionName + " major version number");
 1025     return TokError(Twine(VersionName) +
 1030     return TokError(Twine("invalid ") + VersionName +
 1034     return TokError(Twine("invalid ") + VersionName + " minor version number");
 1046     return TokError(Twine("invalid ") + ComponentName +
 1050     return TokError(Twine("invalid ") + ComponentName + " version number");
 1069     return TokError("invalid OS update specifier, comma expected");
 1165     return TokError("platform name expected");
 1178     return TokError("version number required, comma expected");
lib/MC/MCParser/ELFAsmParser.cpp
  183         return TokError("expected identifier in directive");
  193         return TokError("unexpected token in directive");
  220     return TokError("expected identifier in directive");
  224     return TokError("unexpected token in directive");
  232     return TokError("unexpected token in directive");
  383     return TokError(".popsection without corresponding .pushsection");
  399       return TokError("expected '@<type>', '%<type>' or \"<type>\"");
  401       return TokError("expected '%<type>' or \"<type>\"");
  409     return TokError("expected identifier in directive");
  415     return TokError("expected the entry size");
  420     return TokError("entry size must be positive");
  427     return TokError("expected group name");
  433     return TokError("invalid group name");
  439       return TokError("invalid linkage");
  441       return TokError("Linkage must be 'comdat'");
  449     return TokError("expected metadata symbol");
  453     return TokError("invalid metadata symbol");
  456     return TokError("symbol is not in a section: " + Name);
  467     return TokError("expected identifier in directive");
  469     return TokError("expected 'unique'");
  471     return TokError("expected commma");
  476     return TokError("unique id must be positive");
  478     return TokError("unique id is too large");
  490     return TokError("expected identifier in directive");
  533         return TokError("expected string in directive");
  542       return TokError("unknown flag");
  548       return TokError("Section cannot specifiy a group name while also acting "
  557         return TokError("Mergeable section must specify the type");
  559         return TokError("Group section must specify the type");
  561         return TokError("unexpected token in directive");
  579     return TokError("unexpected token in directive");
  623       return TokError("unknown section type");
  661       return TokError(".previous without corresponding .section");
  689     return TokError("expected identifier in directive");
  707       return TokError("expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', "
  710       return TokError("expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '@<type>', "
  722     return TokError("expected symbol type in directive");
  729     return TokError("unexpected token in '.type' directive");
  741     return TokError("unexpected token in '.ident' directive");
  748     return TokError("unexpected token in '.ident' directive");
  760     return TokError("expected identifier in directive");
  763     return TokError("expected a comma");
  776     return TokError("expected identifier in directive");
  779     return TokError("expected a '@' in the name");
  790     return TokError("unexpected token in '.version' directive");
  817     return TokError("expected identifier in directive");
  820     return TokError("expected a comma");
  826     return TokError("expected identifier in directive");
  844     return TokError("unexpected token in directive");
  858     return TokError("expected identifier in directive");
  861     return TokError("expected a comma");
  867     return TokError("expected identifier in directive");
  870     return TokError("expected a comma");
  879     return TokError("unexpected token in directive");
lib/MC/MCParser/WasmAsmParser.cpp
  109       return TokError("expected identifier in directive");
  161       return TokError("expected identifier in directive");
  207       return TokError("unexpected token in '.ident' directive");
  211       return TokError("unexpected token in '.ident' directive");
  233           return TokError("expected identifier in directive");
  239           return TokError("unexpected token in directive");
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2379       TokError("immediate value expected for prefetch operand");
 2384       TokError("prefetch operand out of range, [0," + utostr(MaxVal) +
 2396     TokError("prefetch hint expected");
 2402     TokError("prefetch hint expected");
 2419     TokError("invalid operand for instruction");
 2425     TokError("invalid operand for instruction");
 2442     TokError("invalid operand for instruction");
 2448     TokError("invalid operand for instruction");
 2563     TokError("invalid floating point immediate");
 2570       TokError("encoded floating point value out of range");
 2716     return TokError("invalid condition code");
 2721       return TokError("condition codes AL and NV are invalid for this instruction");
 2767       TokError("expected #imm after shift specifier");
 2885     return TokError("invalid operand");
 2899       return TokError("invalid operand for IC instruction");
 2903       return TokError(Str.c_str());
 2909       return TokError("invalid operand for DC instruction");
 2913       return TokError(Str.c_str());
 2919       return TokError("invalid operand for AT instruction");
 2923       return TokError(Str.c_str());
 2929       return TokError("invalid operand for TLBI instruction");
 2933       return TokError(Str.c_str());
 2939       return TokError("invalid operand for prediction restriction instruction");
 2944       return TokError(Str.c_str());
 2963       return TokError("expected register operand");
 2968     return TokError("specified " + Mnemonic + " op requires a register");
 2970     return TokError("specified " + Mnemonic + " op does not use a register");
 2984     TokError("'csync' operand expected");
 3009     TokError("invalid operand for instruction");
 3017     TokError("'sy' or #imm operand expected");
 3021     TokError("'csync' operand expected");
 3024     TokError("invalid barrier option name");
 3106       TokError("immediate value expected for vector index");
 3146         TokError("invalid vector kind qualifier");
 3234       return TokError("expect relocation specifier in operand after ':'");
 3286       return TokError("expect relocation specifier in operand after ':'");
 3645         return TokError("unexpected floating point literal");
 3647         return TokError("expected floating-point constant #0.0");
 3668       return TokError("unexpected token in operand");
 5321       return TokError("expected an identifier or a number in directive");
 5326       return TokError("invalid numeric identifier in directive");
 5335       return TokError("invalid identifier in directive");
 5349       return TokError("expected identifier in directive");
 5444     return TokError("unexpected input in .unreq directive.");
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 3568     return TokError("invalid major version");
 3571     return TokError("minor version number required, comma expected");
 3575     return TokError("invalid minor version");
 3582     return TokError("directive only supported for amdgcn architecture");
 3649     return TokError("directive only supported for amdgcn architecture");
 3652     return TokError("directive only supported for amdhsa OS");
 3679       return TokError("expected .amdhsa_ directive or .end_amdhsa_kernel");
 3689       return TokError(".amdhsa_ directives cannot be repeated");
 3898     return TokError(".amdhsa_next_free_vgpr directive is required");
 3901     return TokError(".amdhsa_next_free_sgpr directive is required");
 3925     return TokError("too many user SGPRs enabled");
 3967     return TokError("stepping version number required, comma expected");
 3971     return TokError("invalid stepping version");
 3974     return TokError("vendor name required, comma expected");
 3978     return TokError("invalid vendor name");
 3984     return TokError("arch name required, comma expected");
 3988     return TokError("invalid arch name");
 4010     return TokError(Err.str());
 4017         return TokError("enable_wavefront_size32=1 is only allowed on GFX10+");
 4019         return TokError("enable_wavefront_size32=1 requires +WavefrontSize32");
 4022         return TokError("enable_wavefront_size32=0 requires +WavefrontSize64");
 4029         return TokError("wavefront_size=5 is only allowed on GFX10+");
 4031         return TokError("wavefront_size=5 requires +WavefrontSize32");
 4034         return TokError("wavefront_size=6 requires +WavefrontSize64");
 4040       return TokError("enable_wgp_mode=1 is only allowed on GFX10+");
 4045       return TokError("enable_mem_ordered=1 is only allowed on GFX10+");
 4050       return TokError("enable_fwd_progress=1 is only allowed on GFX10+");
 4067       return TokError("expected value identifier or .end_amd_kernel_code_t");
 4086     return TokError("expected symbol name");
 4190     return TokError(Twine("expected directive ") +
 4224       return TokError(Twine("invalid value in ") +
 4228       return TokError(Twine("expected an even number of values in ") +
 4233       return TokError(Twine("invalid value in ") +
 4253     return TokError("expected identifier in directive");
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 4080       return TokError("immediate value expected for vector index");
 4285     return TokError("Token is not a Left Curly Brace");
 5646     return TokError("Token is not a Left Bracket");
11377     return TokError("expected variable after '.tlsdescseq' directive");
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  678     return TokError("unexpected token in directive");
  736     return TokError("expected identifier in directive");
  741     return TokError("unexpected token in directive");
  775     return TokError("unexpected token in '.comm' or '.lcomm' directive");
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  414       return TokError("expected identifier in directive");
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 1219     return TokError("invalid register name");
 1706     return TokError("unrecognized machine type");
lib/Target/X86/AsmParser/X86AsmParser.cpp
 2075         return TokError("Expected 1to<NUM> at this point");
 2079         return TokError("Expected 1to<NUM> at this point");
 2089         return TokError("Invalid memory broadcast primitive.");
 2092         return TokError("Expected } at this point");
 2658       return TokError("unexpected token in argument list");
 3793     return TokError("unexpected token in directive");
 3806     return TokError("you must specify a stack pointer offset");
 3813     return TokError("unexpected token in directive");
 3826     return TokError("you must specify an offset on the stack");
 3833     return TokError("unexpected token in directive");
 3846     return TokError("you must specify an offset on the stack");
 3853     return TokError("unexpected token in directive");
 3874     return TokError("unexpected token in directive");