Lines Matching refs:TokError
477 return TokError("unexpected token in section switching directive"); in parseSectionSwitch()
505 return TokError("expected identifier in directive"); in parseDirectiveAltEntry()
511 return TokError(".alt_entry must preceed symbol definition"); in parseDirectiveAltEntry()
514 return TokError("unable to emit symbol attribute"); in parseDirectiveAltEntry()
525 return TokError("expected identifier in directive"); in parseDirectiveDesc()
531 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
539 return TokError("unexpected token in '.desc' directive"); in parseDirectiveDesc()
564 return TokError("expected identifier in .indirect_symbol directive"); in parseDirectiveIndirectSymbol()
570 return TokError("non-local symbol required in directive"); in parseDirectiveIndirectSymbol()
573 return TokError("unable to emit indirect symbol attribute for: " + Name); in parseDirectiveIndirectSymbol()
576 return TokError("unexpected token in '.indirect_symbol' directive"); in parseDirectiveIndirectSymbol()
589 return TokError("expected string in '.dump' or '.load' directive"); in parseDirectiveDumpOrLoad()
594 return TokError("unexpected token in '.dump' or '.load' directive"); in parseDirectiveDumpOrLoad()
612 return TokError("expected string in '" + Twine(IDVal) + "' directive"); in parseDirectiveLinkerOption()
624 return TokError("unexpected token in '" + Twine(IDVal) + "' directive"); in parseDirectiveLinkerOption()
637 return TokError("expected identifier in directive"); in parseDirectiveLsym()
643 return TokError("unexpected token in '.lsym' directive"); in parseDirectiveLsym()
651 return TokError("unexpected token in '.lsym' directive"); in parseDirectiveLsym()
659 return TokError("directive '.lsym' is unsupported"); in parseDirectiveLsym()
673 return TokError("unexpected token in '.section' directive"); in parseDirectiveSection()
685 return TokError("unexpected token in '.section' directive"); in parseDirectiveSection()
747 return TokError(".popsection without corresponding .pushsection"); in parseDirectivePopSection()
756 return TokError(".previous without corresponding .section"); in parseDirectivePrevious()
766 return TokError("unexpected token in '.secure_log_unique' directive"); in parseDirectiveSecureLogUnique()
805 return TokError("unexpected token in '.secure_log_reset' directive"); in parseDirectiveSecureLogReset()
818 return TokError("unexpected token in '.subsections_via_symbols' directive"); in parseDirectiveSubsectionsViaSymbols()
833 return TokError("expected identifier in directive"); in parseDirectiveTBSS()
839 return TokError("unexpected token in directive"); in parseDirectiveTBSS()
857 return TokError("unexpected token in '.tbss' directive"); in parseDirectiveTBSS()
888 return TokError("expected segment name after '.zerofill' directive"); in parseDirectiveZerofill()
891 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
897 return TokError("expected section name after comma in '.zerofill' " in parseDirectiveZerofill()
912 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
918 return TokError("expected identifier in directive"); in parseDirectiveZerofill()
924 return TokError("unexpected token in directive"); in parseDirectiveZerofill()
942 return TokError("unexpected token in '.zerofill' directive"); in parseDirectiveZerofill()
982 return TokError("expected region type after '.data_region' directive"); in parseDirectiveDataRegion()
1000 return TokError("unexpected token in '.end_data_region' directive"); in parseDirectiveDataRegionEnd()
1017 return TokError(Twine("invalid ") + VersionName + in parseMajorMinorVersionComponent()
1021 return TokError(Twine("invalid ") + VersionName + " major version number"); in parseMajorMinorVersionComponent()
1025 return TokError(Twine(VersionName) + in parseMajorMinorVersionComponent()
1030 return TokError(Twine("invalid ") + VersionName + in parseMajorMinorVersionComponent()
1034 return TokError(Twine("invalid ") + VersionName + " minor version number"); in parseMajorMinorVersionComponent()
1046 return TokError(Twine("invalid ") + ComponentName + in parseOptionalTrailingVersionComponent()
1050 return TokError(Twine("invalid ") + ComponentName + " version number"); in parseOptionalTrailingVersionComponent()
1069 return TokError("invalid OS update specifier, comma expected"); in parseVersion()
1166 return TokError("platform name expected"); in parseBuildVersion()
1179 return TokError("version number required, comma expected"); in parseBuildVersion()