[all-commits] [llvm/llvm-project] ace56d: [WoA][MSVC] Use default linker setting in MSVC-com...

maxim-kuvyrkov via All-commits all-commits at lists.llvm.org
Thu Mar 18 00:45:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ace56d41aca8cac7cead9c2c97278aa50fc945b1
      https://github.com/llvm/llvm-project/commit/ace56d41aca8cac7cead9c2c97278aa50fc945b1
  Author: Maxim Kuvyrkov <maxim.kuvyrkov at linaro.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/MSVC.cpp

  Log Message:
  -----------
  [WoA][MSVC] Use default linker setting in MSVC-compatible driver

At the moment "link.exe" is hard-coded as default linker in MSVC.cpp,
so there's no way to use LLD as default linker for MSVC driver.

This patch adds checking of CLANG_DEFAULT_LINKER to MSVC.cpp.

Reviewed By: asl

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




More information about the All-commits mailing list