[all-commits] [llvm/llvm-project] b3b253: [lld/coff] Make lld-link work in a non-MSVC shell, ...

pkasting via All-commits all-commits at lists.llvm.org
Fri Feb 11 10:55:41 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3b2538df100ec7f6587b0ee70819a3c8ee2c27e
  Author: Peter Kasting <pkasting at chromium.org>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M clang/docs/tools/clang-formatted-files.txt
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/MSVC.h
    R clang/lib/Driver/ToolChains/MSVCSetupApi.h
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/COFF/Options.td
    M lld/COFF/SymbolTable.cpp
    M lld/docs/ReleaseNotes.rst
    A lld/test/COFF/winsysroot.test
    A llvm/include/llvm/Support/MSVCPaths.h
    A llvm/include/llvm/Support/MSVCSetupApi.h
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/MSVCPaths.cpp
    M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel

  Log Message:
  [lld/coff] Make lld-link work in a non-MSVC shell, add /winsysroot:

Makes lld-link work in a non-MSVC shell by autodetecting MSVC toolchain. Also
adds support for /winsysroot and a few other switches.

All this is done by refactoring to share code with clang-cl's existing support
for the same.

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

More information about the All-commits mailing list