[all-commits] [llvm/llvm-project] bf027d: [ms] [llvm-ml] Enable support for MASM-style macro...

Eric Astor via All-commits all-commits at lists.llvm.org
Wed Nov 4 07:30:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf027da04c4159fda2403038f9b4a97454a3b625
      https://github.com/llvm/llvm-project/commit/bf027da04c4159fda2403038f9b4a97454a3b625
  Author: Eric Astor <epastor at google.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmMacro.h
    M llvm/lib/MC/MCAsmMacro.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    A llvm/test/tools/llvm-ml/macro.test
    A llvm/test/tools/llvm-ml/macro_errors.test

  Log Message:
  -----------
  [ms] [llvm-ml] Enable support for MASM-style macro procedures

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).

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D89729




More information about the All-commits mailing list