[all-commits] [llvm/llvm-project] f69328: [cc1as] Add support for emitting the build version...

Byoungchan Lee via All-commits all-commits at lists.llvm.org
Fri Apr 22 05:38:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f69328049e9e7fde7a314de785c76c1b93e069b2
      https://github.com/llvm/llvm-project/commit/f69328049e9e7fde7a314de785c76c1b93e069b2
  Author: Byoungchan Lee <daniel.l at hpcnt.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/Darwin.h
    A clang/test/Misc/cc1as-darwin-target-variant-triple.s
    M clang/tools/driver/cc1as_main.cpp

  Log Message:
  -----------
  [cc1as] Add support for emitting the build version load command for -darwin-target-variant

This patch extends cc1as to export the build version load command with
LC_VERSION_MIN_MACOSX.
This is especially important for Mac Catalyst as Mac Catalyst uses
the MacOS's compiler rt built-ins.

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




More information about the All-commits mailing list