[PATCH] D83344: [ms] [llvm-ml] Improve MASM STRUCT field accessor support

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 14:35:13 PDT 2020


epastor created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Adds support for several accessors:

- `[<identifier>.<struct name>].<field>`
- `[<identifier>.<struct name>.<field>].<subfield>` (where `field` has already-defined STRUCT type)
- `[<variable>.<field>].<subfield>` (where `field` has already-defined STRUCT type)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83344

Files:
  llvm/include/llvm/MC/MCParser/MCAsmParser.h
  llvm/lib/MC/MCParser/MasmParser.cpp
  llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
  llvm/test/tools/llvm-ml/struct.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83344.276213.patch
Type: text/x-patch
Size: 11508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/b9e91df8/attachment.bin>


More information about the llvm-commits mailing list