Lines Matching refs:TokError

201         return TokError("conflicting section flags 'b' and 'd'.");  in ParseSectionFlags()
208 return TokError("conflicting section flags 'b' and 'd'."); in ParseSectionFlags()
257 return TokError("unknown flag"); in ParseSectionFlags()
299 return TokError("expected identifier in directive"); in ParseDirectiveSymbolAttribute()
309 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
330 return TokError("unexpected token in section switching directive"); in ParseSectionSwitch()
367 return TokError("expected identifier in directive"); in ParseDirectiveSection()
377 return TokError("expected string in directive"); in ParseDirectiveSection()
395 return TokError("expected comdat type such as 'discard' or 'largest' " in ParseDirectiveSection()
402 return TokError("expected comma in directive"); in ParseDirectiveSection()
406 return TokError("expected identifier in directive"); in ParseDirectiveSection()
410 return TokError("unexpected token in directive"); in ParseDirectiveSection()
426 return TokError("expected identifier in directive"); in ParseDirectiveDef()
442 return TokError("unexpected token in directive"); in ParseDirectiveScl()
455 return TokError("unexpected token in directive"); in ParseDirectiveType()
471 return TokError("expected identifier in directive"); in ParseDirectiveSecRel32()
482 return TokError("unexpected token in directive"); in ParseDirectiveSecRel32()
501 return TokError("expected identifier in directive"); in ParseDirectiveRVA()
531 return TokError("expected identifier in directive"); in ParseDirectiveSafeSEH()
534 return TokError("unexpected token in directive"); in ParseDirectiveSafeSEH()
546 return TokError("expected identifier in directive"); in ParseDirectiveSecIdx()
549 return TokError("unexpected token in directive"); in ParseDirectiveSecIdx()
561 return TokError("expected identifier in directive"); in ParseDirectiveSymIdx()
564 return TokError("unexpected token in directive"); in ParseDirectiveSymIdx()
588 return TokError(Twine("unrecognized COMDAT type '" + TypeId + "'")); in parseCOMDATType()
616 return TokError("unexpected token in directive"); in ParseDirectiveLinkOnce()
627 return TokError("unexpected token in directive"); in ParseSEHDirectiveStartProc()
660 return TokError("you must specify one or both of @unwind or @except"); in ParseSEHDirectiveHandler()
671 return TokError("unexpected token in directive"); in ParseSEHDirectiveHandler()
692 return TokError("unexpected token in directive"); in ParseSEHDirectivePushReg()
705 return TokError("you must specify a stack pointer offset"); in ParseSEHDirectiveSetFrame()
712 return TokError("unexpected token in directive"); in ParseSEHDirectiveSetFrame()
725 return TokError("unexpected token in directive"); in ParseSEHDirectiveAllocStack()
738 return TokError("you must specify an offset on the stack"); in ParseSEHDirectiveSaveReg()
745 return TokError("unexpected token in directive"); in ParseSEHDirectiveSaveReg()
761 return TokError("you must specify an offset on the stack"); in ParseSEHDirectiveSaveXMM()
768 return TokError("unexpected token in directive"); in ParseSEHDirectiveSaveXMM()
790 return TokError("unexpected token in directive"); in ParseSEHDirectivePushFrame()
806 return TokError("a handler attribute must begin with '@'"); in ParseAtUnwindOrAtExcept()