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::ParseSectionDirectiveDataRelRoLocal>(".data.rel.ro.local"); in Initialize()
57 &ELFAsmParser::ParseSectionDirectiveEhFrame>(".eh_frame"); in Initialize()
58 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSection>(".section"); in Initialize()
60 &ELFAsmParser::ParseDirectivePushSection>(".pushsection"); in Initialize()
61 addDirectiveHandler<&ELFAsmParser::ParseDirectivePopSection>(".popsection"); in Initialize()
62 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSize>(".size"); in Initialize()
63 addDirectiveHandler<&ELFAsmParser::ParseDirectivePrevious>(".previous"); in Initialize()
64 addDirectiveHandler<&ELFAsmParser::ParseDirectiveType>(".type"); in Initialize()
65 addDirectiveHandler<&ELFAsmParser::ParseDirectiveIdent>(".ident"); in Initialize()
66 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSymver>(".symver"); in Initialize()
67 addDirectiveHandler<&ELFAsmParser::ParseDirectiveVersion>(".version"); in Initialize()
68 addDirectiveHandler<&ELFAsmParser::ParseDirectiveWeakref>(".weakref"); in Initialize()
69 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSymbolAttribute>(".weak"); in Initialize()
70 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSymbolAttribute>(".local"); in Initialize()
72 &ELFAsmParser::ParseDirectiveSymbolAttribute>(".protected"); in Initialize()
74 &ELFAsmParser::ParseDirectiveSymbolAttribute>(".internal"); in Initialize()
76 &ELFAsmParser::ParseDirectiveSymbolAttribute>(".hidden"); in Initialize()
77 addDirectiveHandler<&ELFAsmParser::ParseDirectiveSubsection>(".subsection"); in Initialize()
161 bool ELFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute()
194 bool ELFAsmParser::ParseSectionSwitch(StringRef Section, unsigned Type, in ParseSectionSwitch()
208 bool ELFAsmParser::ParseDirectiveSize(StringRef, SMLoc) { in ParseDirectiveSize()
229 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName()
317 unsigned ELFAsmParser::parseSunStyleSectionFlags() { in parseSunStyleSectionFlags()
347 bool ELFAsmParser::ParseDirectivePushSection(StringRef s, SMLoc loc) { in ParseDirectivePushSection()
358 bool ELFAsmParser::ParseDirectivePopSection(StringRef, SMLoc) { in ParseDirectivePopSection()
365 bool ELFAsmParser::ParseDirectiveSection(StringRef, SMLoc loc) { in ParseDirectiveSection()
369 bool ELFAsmParser::ParseSectionArguments(bool IsPush, SMLoc loc) { in ParseSectionArguments()
551 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { in ParseDirectivePrevious()
579 bool ELFAsmParser::ParseDirectiveType(StringRef, SMLoc) { in ParseDirectiveType()
626 bool ELFAsmParser::ParseDirectiveIdent(StringRef, SMLoc) { in ParseDirectiveIdent()
640 bool ELFAsmParser::ParseDirectiveSymver(StringRef, SMLoc) { in ParseDirectiveSymver()
674 bool ELFAsmParser::ParseDirectiveVersion(StringRef, SMLoc) { in ParseDirectiveVersion()
698 bool ELFAsmParser::ParseDirectiveWeakref(StringRef, SMLoc) { in ParseDirectiveWeakref()
722 bool ELFAsmParser::ParseDirectiveSubsection(StringRef, SMLoc) { in ParseDirectiveSubsection()
739 return new ELFAsmParser; in createELFAsmParser()