Support MASM's REPEAT, FOR, FORC, and WHILE macro-like directives.
Also adds support for macro argument substitution inside quoted strings, and additional testing for macro directives.
Paths
| Differential D89732
[ms] [llvm-ml] Support REPEAT/FOR/WHILE macro-like directives ClosedPublic Authored by epastor on Oct 19 2020, 1:55 PM.
Details Summary Support MASM's REPEAT, FOR, FORC, and WHILE macro-like directives. Also adds support for macro argument substitution inside quoted strings, and additional testing for macro directives.
Diff Detail
Event Timelineepastor added a parent revision: D89731: [ms] [llvm-ml] Lex MASM strings, including escaping.Oct 19 2020, 1:55 PM epastor added a child revision: D89733: [ms] [llvm-ml] Support MASM's relational operators (EQ, LT, etc.). This revision is now accepted and ready to land.Nov 6 2020, 6:48 AM This revision was landed with ongoing or failed builds.Nov 9 2020, 10:21 AM Closed by commit rG3a71f5519423: [ms] [llvm-ml] Support REPEAT/FOR/WHILE macro-like directives (authored by epastor). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 303923 llvm/lib/MC/MCParser/COFFMasmParser.cpp
llvm/lib/MC/MCParser/MasmParser.cpp
llvm/test/tools/llvm-ml/macro.test
llvm/test/tools/llvm-ml/repeat_directives.test
|