#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/MC/MCAsmMacro.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbolCOFF.h"
#include "llvm/MC/SectionKind.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/SMLoc.h"
#include <cstdint>
#include <utility>
usingnamespacellvm;
namespace {
class COFFMasmParser : public MCAsmParserExtension { … };
}
bool COFFMasmParser::ParseSectionSwitch(StringRef SectionName,
unsigned Characteristics) { … }
bool COFFMasmParser::ParseSectionSwitch(StringRef SectionName,
unsigned Characteristics,
StringRef COMDATSymName,
COFF::COMDATType Type,
Align Alignment) { … }
bool COFFMasmParser::ParseDirectiveSegment(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseDirectiveSegmentEnd(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseDirectiveIncludelib(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseDirectiveOption(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseDirectiveProc(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseDirectiveEndProc(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseDirectiveAlias(StringRef Directive, SMLoc Loc) { … }
bool COFFMasmParser::ParseSEHDirectiveAllocStack(StringRef Directive,
SMLoc Loc) { … }
bool COFFMasmParser::ParseSEHDirectiveEndProlog(StringRef Directive,
SMLoc Loc) { … }
namespace llvm {
MCAsmParserExtension *createCOFFMasmParser() { … }
}