• Home
  • Raw
  • Download

Lines Matching refs:TokError

165         return TokError("expected identifier in directive");  in ParseDirectiveSymbolAttribute()
175 return TokError("unexpected token in directive"); in ParseDirectiveSymbolAttribute()
202 return TokError("expected identifier in directive"); in ParseDirectiveSize()
206 return TokError("unexpected token in directive"); in ParseDirectiveSize()
214 return TokError("unexpected token in directive"); in ParseDirectiveSize()
352 return TokError(".popsection without corresponding .pushsection"); in ParseDirectivePopSection()
365 return TokError("expected identifier in directive"); in ParseSectionArguments()
399 return TokError("expected string in directive"); in ParseSectionArguments()
408 return TokError("unknown flag"); in ParseSectionArguments()
414 return TokError("Section cannot specifiy a group name while also acting " in ParseSectionArguments()
419 return TokError("Mergeable section must specify the type"); in ParseSectionArguments()
421 return TokError("Group section must specify the type"); in ParseSectionArguments()
429 return TokError("expected '@<type>', '%<type>' or \"<type>\""); in ParseSectionArguments()
432 return TokError("expected identifier in directive"); in ParseSectionArguments()
436 return TokError("expected the entry size"); in ParseSectionArguments()
441 return TokError("entry size must be positive"); in ParseSectionArguments()
446 return TokError("expected group name"); in ParseSectionArguments()
456 return TokError("Linkage must be 'comdat'"); in ParseSectionArguments()
462 return TokError("expected identifier in directive"); in ParseSectionArguments()
464 return TokError("expected 'unique'"); in ParseSectionArguments()
466 return TokError("expected commma"); in ParseSectionArguments()
471 return TokError("unique id must be positive"); in ParseSectionArguments()
473 return TokError("unique id is too large"); in ParseSectionArguments()
480 return TokError("unexpected token in directive"); in ParseSectionArguments()
509 return TokError("unknown section type"); in ParseSectionArguments()
546 return TokError(".previous without corresponding .section"); in ParseDirectivePrevious()
574 return TokError("expected identifier in directive"); in ParseDirectiveType()
592 return TokError("expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', " in ParseDirectiveType()
595 return TokError("expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '@<type>', " in ParseDirectiveType()
607 return TokError("expected symbol type in directive"); in ParseDirectiveType()
614 return TokError("unexpected token in '.type' directive"); in ParseDirectiveType()
626 return TokError("unexpected token in '.ident' directive"); in ParseDirectiveIdent()
641 return TokError("expected identifier in directive"); in ParseDirectiveSymver()
644 return TokError("expected a comma"); in ParseDirectiveSymver()
657 return TokError("expected identifier in directive"); in ParseDirectiveSymver()
660 return TokError("expected a '@' in the name"); in ParseDirectiveSymver()
674 return TokError("unexpected token in '.version' directive"); in ParseDirectiveVersion()
701 return TokError("expected identifier in directive"); in ParseDirectiveWeakref()
704 return TokError("expected a comma"); in ParseDirectiveWeakref()
710 return TokError("expected identifier in directive"); in ParseDirectiveWeakref()
728 return TokError("unexpected token in directive"); in ParseDirectiveSubsection()