Lines Matching refs:TokError

186         return TokError("conflicting section flags 'b' and 'd'.");  in ParseSectionFlags()
193 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
242 return TokError("unknown flag"); in ParseSectionFlags()
284 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
294 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
319 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
356 return TokError("expected identifier in directive"); in ParseDirectiveSection()
366 return TokError("expected string in directive"); in ParseDirectiveSection()
384 return TokError("expected comdat type such as 'discard' or 'largest' " in ParseDirectiveSection()
391 return TokError("expected comma in directive"); in ParseDirectiveSection()
395 return TokError("expected identifier in directive"); in ParseDirectiveSection()
399 return TokError("unexpected token in directive"); in ParseDirectiveSection()
415 return TokError("expected identifier in directive"); in ParseDirectiveDef()
431 return TokError("unexpected token in directive"); in ParseDirectiveScl()
444 return TokError("unexpected token in directive"); in ParseDirectiveType()
460 return TokError("expected identifier in directive"); in ParseDirectiveSecRel32()
471 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()
490 return TokError("expected identifier in directive"); in ParseDirectiveRVA()
520 return TokError("expected identifier in directive"); in ParseDirectiveSafeSEH()
523 return TokError("unexpected token in directive"); in ParseDirectiveSafeSEH()
535 return TokError("expected identifier in directive"); in ParseDirectiveSecIdx()
538 return TokError("unexpected token in directive"); in ParseDirectiveSecIdx()
550 return TokError("expected identifier in directive"); in ParseDirectiveSymIdx()
553 return TokError("unexpected token in directive"); in ParseDirectiveSymIdx()
577 return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'")); in parseCOMDATType()
605 return TokError("unexpected token in directive"); in ParseDirectiveLinkOnce()
616 return TokError("unexpected token in directive"); in ParseSEHDirectiveStartProc()
655 return TokError("you must specify one or both of @unwind or @except"); in ParseSEHDirectiveHandler()
666 return TokError("unexpected token in directive"); in ParseSEHDirectiveHandler()
687 return TokError("unexpected token in directive"); in ParseSEHDirectiveAllocStack()
703 return TokError("a handler attribute must begin with '@' or '%'"); in ParseAtUnwindOrAtExcept()