[all-commits] [llvm/llvm-project] b7fb5b: [LLD] [MinGW] Support both "--opt value" and "--op...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Aug 3 00:56:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7fb5b54a93099cf3d7ac64f4a95d9942bc2e6a7
      https://github.com/llvm/llvm-project/commit/b7fb5b54a93099cf3d7ac64f4a95d9942bc2e6a7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    M lld/MinGW/Options.td
    M lld/test/MinGW/driver.test

  Log Message:
  -----------
  [LLD] [MinGW] Support both "--opt value" and "--opt=value" for more options

This does the same fix as D107237 but for a couple more options,
converting all remaining cases of such options to accept both
forms, for consistency. This fixes building e.g. openldap, which
uses --image-base=<value>.

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


  Commit: ce49fd024b43bd76b149f984b8f0d16e92b9bb06
      https://github.com/llvm/llvm-project/commit/ce49fd024b43bd76b149f984b8f0d16e92b9bb06
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-08-03 (Tue, 03 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


Compare: https://github.com/llvm/llvm-project/compare/150395c2bcee...ce49fd024b43


More information about the All-commits mailing list