[all-commits] [llvm/llvm-project] 82c5e3: [llvm-ml] Implement support for MASM's extern dire...

Alan Zhao via All-commits all-commits at lists.llvm.org
Tue May 10 11:36:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82c5e302f9e63a3491b5e40aa33771f355791598
      https://github.com/llvm/llvm-project/commit/82c5e302f9e63a3491b5e40aa33771f355791598
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2022-05-10 (Tue, 10 May 2022)

  Changed paths:
    M llvm/lib/MC/MCParser/MasmParser.cpp
    A llvm/test/tools/llvm-ml/extern.asm
    A llvm/test/tools/llvm-ml/extern_errors.asm
    M llvm/test/tools/llvm-ml/indirect_branch.asm

  Log Message:
  -----------
  [llvm-ml] Implement support for MASM's extern directive

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

Reviewed By: epastor

Submitted By: epastor

Differential Revision: https://reviews.llvm.org/D125273




More information about the All-commits mailing list