[all-commits] [llvm/llvm-project] fdf54f: [LLD] [MinGW] Print the lld-link command to stderr

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Jun 23 00:22:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdf54f5c506a12ca509b5af0967347a2848b3b77
      https://github.com/llvm/llvm-project/commit/fdf54f5c506a12ca509b5af0967347a2848b3b77
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M lld/MinGW/Driver.cpp
    M lld/test/MinGW/driver.test
    M lld/test/MinGW/lib.test

  Log Message:
  -----------
  [LLD] [MinGW] Print the lld-link command to stderr

This is consistent with how clang prints its internal commands with
-### and -v.

When linking with -verbose, we get log messages from the actual
linking written to stderr. By printing the command to the same stream,
we make sure they appear in a sensible chronological order.

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




More information about the All-commits mailing list