[all-commits] [llvm/llvm-project] 65fd1e: [llvm-ml] Add support for the .S extension

Alan Zhao via All-commits all-commits at lists.llvm.org
Wed May 25 19:10:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65fd1e91b0f864f6f97742f2ed5d0243a9dc8f55
      https://github.com/llvm/llvm-project/commit/65fd1e91b0f864f6f97742f2ed5d0243a9dc8f55
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    A llvm/test/tools/llvm-ml/invalid_file_extension.blah
    M llvm/test/tools/llvm-ml/lit.local.cfg
    A llvm/test/tools/llvm-ml/valid_file_extension.S
    M llvm/tools/llvm-ml/Opts.td
    M llvm/tools/llvm-ml/llvm-ml.cpp

  Log Message:
  -----------
  [llvm-ml] Add support for the .S extension

Even though MASM files typically have the .asm extension, there are some
use cases [0] where they have the .S extension. MSVC ml assembles such
files with no problems, so llvm-ml should as well.

Additionally, fix the implementation of the /Ta flag and add a test for
it.

[0]: https://crrev.com/c/3668287

Reviewed By: epastor

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




More information about the All-commits mailing list