[PATCH] D89728: [ms] [llvm-ml] Enable support for MASM-style macro procedures

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 13:49:54 PDT 2020


epastor created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
epastor requested review of this revision.

Allows the MACRO directive to define macro procedures with parameters and macro-local symbols.

Supports required and optional parameters (including default values), and matches ml64.exe for its macro-local symbol handling (up to 65536 macro-local symbols in any translation unit).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89728

Files:
  llvm/include/llvm/MC/MCAsmMacro.h
  llvm/lib/MC/MCAsmMacro.cpp
  llvm/lib/MC/MCParser/MasmParser.cpp
  llvm/test/tools/llvm-ml/macro.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89728.299139.patch
Type: text/x-patch
Size: 23535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/b2714367/attachment.bin>


More information about the llvm-commits mailing list