[all-commits] [llvm/llvm-project] 7d85f6: [clang][driver][darwin] Ensure that the SDK versio...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Tue Oct 4 10:24:02 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d85f6b1af26c8f749f0c217d7aae694cc3931eb
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    A clang/test/Driver/darwin-ld-platform-version-macos-requires-darwin.c

  Log Message:
  [clang][driver][darwin] Ensure that the SDK version passed to -platform_version has a minor version number 0

The linker requires at least a "major.minor" for the SDK version, so it will fail when we don't have
a minor version in the case we don't actually have an SDK info.

More information about the All-commits mailing list