• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/

Lines Matching refs:COFFAsmParser

1 //===- COFFAsmParser.cpp - COFF Assembly Parser ---------------------------===//
34 class COFFAsmParser : public MCAsmParserExtension {
35 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
38 this, HandleDirective<COFFAsmParser, HandlerMethod>);
58 addDirectiveHandler<&COFFAsmParser::ParseSectionDirectiveText>(".text");
59 addDirectiveHandler<&COFFAsmParser::ParseSectionDirectiveData>(".data");
60 addDirectiveHandler<&COFFAsmParser::ParseSectionDirectiveBSS>(".bss");
61 addDirectiveHandler<&COFFAsmParser::ParseDirectiveSection>(".section");
62 addDirectiveHandler<&COFFAsmParser::ParseDirectiveDef>(".def");
63 addDirectiveHandler<&COFFAsmParser::ParseDirectiveScl>(".scl");
64 addDirectiveHandler<&COFFAsmParser::ParseDirectiveType>(".type");
65 addDirectiveHandler<&COFFAsmParser::ParseDirectiveEndef>(".endef");
66 addDirectiveHandler<&COFFAsmParser::ParseDirectiveSecRel32>(".secrel32");
67 addDirectiveHandler<&COFFAsmParser::ParseDirectiveSymIdx>(".symidx");
68 addDirectiveHandler<&COFFAsmParser::ParseDirectiveSafeSEH>(".safeseh");
69 addDirectiveHandler<&COFFAsmParser::ParseDirectiveSecIdx>(".secidx");
70 addDirectiveHandler<&COFFAsmParser::ParseDirectiveLinkOnce>(".linkonce");
71 addDirectiveHandler<&COFFAsmParser::ParseDirectiveRVA>(".rva");
72 addDirectiveHandler<&COFFAsmParser::ParseDirectiveSymbolAttribute>(".weak");
73 addDirectiveHandler<&COFFAsmParser::ParseDirectiveCGProfile>(".cg_profile");
76 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveStartProc>(
78 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveEndProc>(
80 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveStartChained>(
82 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveEndChained>(
84 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveHandler>(
86 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveHandlerData>(
88 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveAllocStack>(
90 addDirectiveHandler<&COFFAsmParser::ParseSEHDirectiveEndProlog>(
146 COFFAsmParser() = default;
160 bool COFFAsmParser::ParseSectionFlags(StringRef SectionName,
275 bool COFFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) {
304 bool COFFAsmParser::ParseDirectiveCGProfile(StringRef S, SMLoc Loc) {
308 bool COFFAsmParser::ParseSectionSwitch(StringRef Section,
314 bool COFFAsmParser::ParseSectionSwitch(StringRef Section,
329 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) {
353 bool COFFAsmParser::ParseDirectiveSection(StringRef, SMLoc) {
412 bool COFFAsmParser::ParseDirectiveDef(StringRef, SMLoc) {
426 bool COFFAsmParser::ParseDirectiveScl(StringRef, SMLoc) {
439 bool COFFAsmParser::ParseDirectiveType(StringRef, SMLoc) {
452 bool COFFAsmParser::ParseDirectiveEndef(StringRef, SMLoc) {
458 bool COFFAsmParser::ParseDirectiveSecRel32(StringRef, SMLoc) {
487 bool COFFAsmParser::ParseDirectiveRVA(StringRef, SMLoc) {
518 bool COFFAsmParser::ParseDirectiveSafeSEH(StringRef, SMLoc) {
533 bool COFFAsmParser::ParseDirectiveSecIdx(StringRef, SMLoc) {
548 bool COFFAsmParser::ParseDirectiveSymIdx(StringRef, SMLoc) {
564 bool COFFAsmParser::parseCOMDATType(COFF::COMDATType &Type) {
587 bool COFFAsmParser::ParseDirectiveLinkOnce(StringRef, SMLoc Loc) {
611 bool COFFAsmParser::ParseSEHDirectiveStartProc(StringRef, SMLoc Loc) {
626 bool COFFAsmParser::ParseSEHDirectiveEndProc(StringRef, SMLoc Loc) {
632 bool COFFAsmParser::ParseSEHDirectiveStartChained(StringRef, SMLoc Loc) {
638 bool COFFAsmParser::ParseSEHDirectiveEndChained(StringRef, SMLoc Loc) {
644 bool COFFAsmParser::ParseSEHDirectiveHandler(StringRef, SMLoc Loc) {
670 bool COFFAsmParser::ParseSEHDirectiveHandlerData(StringRef, SMLoc Loc) {
676 bool COFFAsmParser::ParseSEHDirectiveAllocStack(StringRef, SMLoc Loc) {
689 bool COFFAsmParser::ParseSEHDirectiveEndProlog(StringRef, SMLoc Loc) {
695 bool COFFAsmParser::ParseAtUnwindOrAtExcept(bool &unwind, bool &except) {
715 return new COFFAsmParser;