[llvm-dev] LLVM + MASM (llvm-ml)

Eric Astor via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 23 08:05:01 PDT 2020


Hi all,

Just a quick update on the llvm-ml project. As a refresher, this was a
proposal to add native [MASM][1] support to LLVM's assembly capabilities,
as part of supporting cross-platform Windows compilation.

    [1]:
https://docs.microsoft.com/en-us/cpp/assembler/masm/microsoft-macro-assembler-reference?view=vs-2019

A large set of directives are now supported, with a growing suite of tests.
After the next outstanding chain of commits ([tip][2]) adds macro
procedures and macro functions (including local symbols), this will include
most of the headline features for the language. (STRUCTs have been in place
for some time now, including type inference for size-checking.) Features
not yet in place include:

   - RECORDs,
   - ASSUME,
   - the ALIGN/ORG/EVEN directives,
   - the GOTO directive (within macros),
   - anonymous labels, and
   - built-in macros (and the string-manipulation directives).

    [2]: https://reviews.llvm.org/D89741

Anyone else interested in reviewing some of the commits around this project?

Thanks,
- Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201023/8752aa61/attachment.html>


More information about the llvm-dev mailing list