[all-commits] [llvm/llvm-project] 912551: Add the /nologo flag to llvm-ml

Alan Zhao via All-commits all-commits at lists.llvm.org
Wed Apr 6 10:48:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 912551dc689648d9bb6edc3a33394be460d24879
      https://github.com/llvm/llvm-project/commit/912551dc689648d9bb6edc3a33394be460d24879
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M llvm/test/tools/llvm-ml/basic.test
    M llvm/tools/llvm-ml/Opts.td

  Log Message:
  -----------
  Add the /nologo flag to llvm-ml

This flag is present in MSVC's ml.exe to suppress copyright info output.
LLVM doesn't output copyright info, so this flag does nothing in
llvm-ml. We still add this flag though so that when llvm-ml is used as a
drop-in replacement for MSVC ml.exe, we don't get any extra warnings.
Furthermore, this behavior is also consistent with other llvm binaries
for Windows (e.g. clang-cl, llvm-mt, lld-link, etc.)

Differential revision: https://reviews.llvm.org/D123068




More information about the All-commits mailing list