[PATCH] D92507: [ms] [llvm-ml] Add support for ALIGN, EVEN, and ORG directives

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 13:21:27 PST 2020


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

Match ML.EXE's behavior for ALIGN, EVEN, and ORG directives both at file level and in STRUCTs.

Note that negative values passed to ORG inside STRUCTs wrap around as for an unsigned 32-bit integer. Also, if a STRUCT is declared using an ORG directive, no value of that type can be defined.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92507

Files:
  llvm/lib/MC/MCParser/MasmParser.cpp
  llvm/test/tools/llvm-ml/align_directives.asm
  llvm/test/tools/llvm-ml/align_errors.asm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92507.309043.patch
Type: text/x-patch
Size: 14538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/fedac029/attachment.bin>


More information about the llvm-commits mailing list