[ms] [llvm-ml] Fix case-sensitivity for variables and textmacros
authorEric Astor <epastor@google.com>
Fri, 2 Apr 2021 17:01:47 +0000 (13:01 -0400)
committerEric Astor <epastor@google.com>
Fri, 2 Apr 2021 18:08:02 +0000 (14:08 -0400)
commit15ec0ad77ae3b65e791567854da5b4984030d080
tree5266758cc3f11b09ca0c13219a9ffe573b639615
parentb001d574d7d94bcf1508fa4cdc22e02a0bf4adea
[ms] [llvm-ml] Fix case-sensitivity for variables and textmacros

Make variables and text-macro references case-insensitive, to match ml.exe.

Also improve error handling for text-macro expansion.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D92503
llvm/lib/MC/MCParser/MasmParser.cpp
llvm/test/tools/llvm-ml/variable.asm