[PATCH] D123173: [llvm-ml] Add support for the -o flag

Alan Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 11:05:38 PDT 2022


ayzhao added a comment.

In D123173#3433575 <https://reviews.llvm.org/D123173#3433575>, @hans wrote:

> For clang-cl we support `-o` because MSVC supports it (although in the VS 2019 version I have it causes a warning saying it's deprecated). Does MSVC's ml.exe or ml64.exe support `-o`?

`ml64.exe` doesn't support `-o`, but I think there's still some value in adding it to `llvm-ml`

1. It keeps command line flags consistent with other LLVM tools
2. When cross-compiling from *nix to Windows, having *nix-style flags can be beneficial as Windows style flags beginning with a forward slash look like file paths. I believe that this would make things less buggy.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123173/new/

https://reviews.llvm.org/D123173



More information about the llvm-commits mailing list