[all-commits] [llvm/llvm-project] 58811f: [clang] [MinGW] Let the last of -mconsole/-mwindow...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Aug 9 23:23:45 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 58811fd0f7312b5f6dffd6a252bc1d68e25cfa01
      https://github.com/llvm/llvm-project/commit/58811fd0f7312b5f6dffd6a252bc1d68e25cfa01
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-08-09 (Mon, 09 Aug 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/test/Driver/mingw.cpp

  Log Message:
  -----------
  [clang] [MinGW] Let the last of -mconsole/-mwindows have effect

Don't just check for the existence of one, but check which one was
specified last, if any.

This fixes https://llvm.org/PR51296.

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

(cherry picked from commit ce49fd024b43bd76b149f984b8f0d16e92b9bb06)




More information about the All-commits mailing list