llvm::createMCMasmParser

Create an MCAsmParser instance for parsing Microsoft MASM-style assembly.

Synopsis

Declared in <llvm/MC/MCParser/MCAsmParser.h>

MCAsmParser*
createMCMasmParser(
    SourceMgr& SM,
    MCContext& Ctx,
    MCStreamer& Out,
    MCAsmInfo const& MAI,
    tm TM,
    unsigned int CB = 0);

Return Value

A new MASM-style assembly parser owned by the caller.

Parameters

NameDescription
SMSource manager providing the input buffers.
CtxAssembly context.
OutStreamer that receives parsed assembly.
MAITarget assembly information.
TMInitial local time used by MASM time-related builtins.
CBSourceMgr buffer ID to start from; 0 selects the main file.