Create an MCAsmParser instance for parsing Microsoft MASM-style assembly.
Declared in <llvm/MC/MCParser/MCAsmParser.h>
MCAsmParser*
createMCMasmParser(
SourceMgr& SM,
MCContext& Ctx,
MCStreamer& Out,
MCAsmInfo const& MAI,
tm TM,
unsigned int CB = 0);
A new MASM-style assembly parser owned by the caller.
| Name | Description |
|---|---|
| SM | Source manager providing the input buffers. |
| Ctx | Assembly context. |
| Out | Streamer that receives parsed assembly. |
| MAI | Target assembly information. |
| TM | Initial local time used by MASM time-related builtins. |
| CB | SourceMgr buffer ID to start from; 0 selects the main file. |