[all-commits] [llvm/llvm-project] 18fa1d: [clang+lld] Pass -platform_version args to ld64.lld

Jez Ng via All-commits all-commits at lists.llvm.org
Tue Mar 2 09:53:25 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18fa1d380d6c693beac017f8c17958464ffd5b8f
      https://github.com/llvm/llvm-project/commit/18fa1d380d6c693beac017f8c17958464ffd5b8f
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    R clang/test/Driver/Inputs/lld/ld64.lld.darwinnew
    A clang/test/Driver/Inputs/lld/ld64.lld.darwinold
    M clang/test/Driver/darwin-infer-simulator-sdkroot.c
    M clang/test/Driver/darwin-ld-demangle-lld.c
    M clang/test/Driver/darwin-ld-lto.c
    M clang/test/Driver/darwin-ld-platform-version-ios.c
    M clang/test/Driver/darwin-ld-platform-version-macos.c
    M clang/test/Driver/darwin-ld-platform-version-tvos.c
    M clang/test/Driver/darwin-ld-platform-version-watchos.c
    M clang/test/Driver/darwin-sdkroot.c
    M clang/test/Driver/target-triple-deployment.c

  Log Message:
  -----------
  [clang+lld] Pass -platform_version args to ld64.lld

Fix regression where we aren't passing `-platform_version` to new ld64.lld after {D95204}.

Most of the changes were originally in D95204, but I backed them out due to
test failures on builds which have `CLANG_DEFAULT_LINKER=lld`. The tests are
properly updated in this diff.

Reviewed By: #lld-macho, thakis

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




More information about the All-commits mailing list