[ms] [llvm-ml] Support command-line defines
authorEric Astor <epastor@google.com>
Tue, 1 Dec 2020 22:48:49 +0000 (17:48 -0500)
committerEric Astor <epastor@google.com>
Tue, 1 Dec 2020 23:06:05 +0000 (18:06 -0500)
commitc64037b784aeae63b1863ee1abd5601c2c6a8102
tree5b7703ea5b1a3326f262ecddd926f4537cae07d2
parentabfd1a8b3bc5ad8516a83c3ae7ba9f16032525ad
[ms] [llvm-ml] Support command-line defines

Enable command-line defines as textmacros

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D90059
llvm/include/llvm/MC/MCParser/MCAsmParser.h
llvm/lib/MC/MCParser/MasmParser.cpp
llvm/test/tools/llvm-ml/command_line_defines.asm [new file with mode: 0644]
llvm/tools/llvm-ml/Opts.td
llvm/tools/llvm-ml/llvm-ml.cpp