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

Byoungchan Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 16:14:17 PDT 2022


bc-lee created this revision.
bc-lee added reviewers: arphaman, MaskRay.
Herald added a project: All.
bc-lee requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121868

Files:
  clang/include/clang/Driver/Options.td
  clang/include/clang/Driver/ToolChain.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/Darwin.h
  clang/tools/driver/cc1as_main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121868.416015.patch
Type: text/x-patch
Size: 4890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220316/6f36b9ab/attachment.bin>


More information about the cfe-commits mailing list