[all-commits] [llvm/llvm-project] 24a144: [macho] emit LC_BUILD_VERSION load command for sup...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Tue Jun 30 11:48:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 24a1447b02854f3145bf5337a82c5fd245f61ca5
      https://github.com/llvm/llvm-project/commit/24a1447b02854f3145bf5337a82c5fd245f61ca5
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Support/Triple.cpp
    M llvm/test/MC/MachO/darwin-sdk-version.ll
    M llvm/test/MC/MachO/darwin-version-min-load-command.s

  Log Message:
  -----------
  [macho] emit LC_BUILD_VERSION load command for supported OSes and platforms

This change lets LLVM use the LC_BUILD_VERSION command when building for macOS 10.14, iOS 12, tvOS 12, and watchOS 5.
Additionally, this change ensures that new platforms like Apple Silicon macOS / Mac Catalyst,
and simulators running on Apple Silicon alway use LC_BUILD_VERSION with the OS version set to the
minimum supported OS version if the deployment target version is older.

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




More information about the All-commits mailing list