[PATCH] D125273: [llvm-ml] Imlement support for MASM's extern directive

Alan Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 15:09:35 PDT 2022


ayzhao created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
ayzhao requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The EXTERN keyword defines external symbols in MASM.

Credit goes to epastor@ for implementing most of the logic; I (ayzhao@)
added some bugfixes and tests.

[0]: https://docs.microsoft.com/en-us/cpp/assembler/masm/extern-masm?view=msvc-170


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125273

Files:
  llvm/lib/MC/MCParser/MasmParser.cpp
  llvm/test/tools/llvm-ml/extern.asm
  llvm/test/tools/llvm-ml/indirect_branch.asm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125273.428211.patch
Type: text/x-patch
Size: 4503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220509/2c91e0f3/attachment.bin>


More information about the llvm-commits mailing list