Lines Matching refs:ELFAsmParser
25 class ELFAsmParser : public MCAsmParserExtension { class
26 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
29 this, HandleDirective<ELFAsmParser, HandlerMethod>); in addDirectiveHandler()
38 ELFAsmParser() { BracketExpressionsSupported = true; } in ELFAsmParser() function in __anone1b0efa20111::ELFAsmParser
44 addDirectiveHandler<&ELFAsmParser::ParseSectionDirectiveData>(".data"); in Initialize()
45 addDirectiveHandler<&ELFAsmParser::ParseSectionDirectiveText>(".text"); in Initialize()
46 addDirectiveHandler<&ELFAsmParser::ParseSectionDirectiveBSS>(".bss"); in Initialize()
47 addDirectiveHandler<&ELFAsmParser::ParseSectionDirectiveRoData>(".rodata"); in Initialize()
48 addDirectiveHandler<&ELFAsmParser::ParseSectionDirectiveTData>(".tdata"); in Initialize()
49 addDirectiveHandler<&ELFAsmParser::ParseSectionDirectiveTBSS>(".tbss"); in Initialize()
51 &ELFAsmParser::ParseSectionDirectiveDataRel>(".data.rel"); in Initialize()
53 &ELFAsmParser::ParseSectionDirectiveDataRelRo>(".data.rel.ro"); in Initialize()
55 &ELFAsmParser::ParseSectionDirectiveEhFrame>(".eh_frame"); in Initialize()
56 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSection>(".section"); in Initialize()
58 &ELFAsmParser::ParseDirectivePushSection>(".pushsection"); in Initialize()
59 addDirectiveHandler<&ELFAsmParser::ParseDirectivePopSection>(".popsection"); in Initialize()
60 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSize>(".size"); in Initialize()
61 addDirectiveHandler<&ELFAsmParser::ParseDirectivePrevious>(".previous"); in Initialize()
62 addDirectiveHandler<&ELFAsmParser::ParseDirectiveType>(".type"); in Initialize()
63 addDirectiveHandler<&ELFAsmParser::ParseDirectiveIdent>(".ident"); in Initialize()
64 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSymver>(".symver"); in Initialize()
65 addDirectiveHandler<&ELFAsmParser::ParseDirectiveVersion>(".version"); in Initialize()
66 addDirectiveHandler<&ELFAsmParser::ParseDirectiveWeakref>(".weakref"); in Initialize()
67 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSymbolAttribute>(".weak"); in Initialize()
68 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSymbolAttribute>(".local"); in Initialize()
70 &ELFAsmParser::ParseDirectiveSymbolAttribute>(".protected"); in Initialize()
72 &ELFAsmParser::ParseDirectiveSymbolAttribute>(".internal"); in Initialize()
74 &ELFAsmParser::ParseDirectiveSymbolAttribute>(".hidden"); in Initialize()
75 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSubsection>(".subsection"); in Initialize()
151 bool ELFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute()
184 bool ELFAsmParser::ParseSectionSwitch(StringRef Section, unsigned Type, in ParseSectionSwitch()
199 bool ELFAsmParser::ParseDirectiveSize(StringRef, SMLoc) { in ParseDirectiveSize()
220 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName()
309 unsigned ELFAsmParser::parseSunStyleSectionFlags() { in parseSunStyleSectionFlags()
339 bool ELFAsmParser::ParseDirectivePushSection(StringRef s, SMLoc loc) { in ParseDirectivePushSection()
350 bool ELFAsmParser::ParseDirectivePopSection(StringRef, SMLoc) { in ParseDirectivePopSection()
357 bool ELFAsmParser::ParseDirectiveSection(StringRef, SMLoc loc) { in ParseDirectiveSection()
361 bool ELFAsmParser::ParseSectionArguments(bool IsPush, SMLoc loc) { in ParseSectionArguments()
543 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { in ParseDirectivePrevious()
571 bool ELFAsmParser::ParseDirectiveType(StringRef, SMLoc) { in ParseDirectiveType()
624 bool ELFAsmParser::ParseDirectiveIdent(StringRef, SMLoc) { in ParseDirectiveIdent()
638 bool ELFAsmParser::ParseDirectiveSymver(StringRef, SMLoc) { in ParseDirectiveSymver()
672 bool ELFAsmParser::ParseDirectiveVersion(StringRef, SMLoc) { in ParseDirectiveVersion()
696 bool ELFAsmParser::ParseDirectiveWeakref(StringRef, SMLoc) { in ParseDirectiveWeakref()
720 bool ELFAsmParser::ParseDirectiveSubsection(StringRef, SMLoc) { in ParseDirectiveSubsection()
737 return new ELFAsmParser; in createELFAsmParser()