[all-commits] [llvm/llvm-project] d238ac: [clang][driver] add clang driver support for emitt...
Alex Lorenz via All-commits
all-commits at lists.llvm.org
Mon Feb 14 12:28:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d238acd1131ec2670acf5cf47b89069ca6c2e86c
https://github.com/llvm/llvm-project/commit/d238acd1131ec2670acf5cf47b89069ca6c2e86c
Author: Alex Lorenz <arphaman at gmail.com>
Date: 2022-02-14 (Mon, 14 Feb 2022)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Darwin.h
A clang/test/Driver/darwin-ld-platform-version-target-version.c
A clang/test/Driver/darwin-objc-runtime-maccatalyst-target-variant.m
A clang/test/Driver/darwin-target-variant-sdk-version.c
A clang/test/Driver/darwin-target-variant.c
A clang/test/Driver/darwin-zippered-target-version.c
Log Message:
-----------
[clang][driver] add clang driver support for emitting macho files with two build version load commands
This patch extends clang driver to pass the right flags to the clang frontend, and ld64,
so that they can emit macho files with two build version load commands. It adds a new
0darwin-target-variant option which complements -target and also can be used to specify different
target variants when multi-arch compilations are invoked with multiple -arch commands.
Differential Revision: https://reviews.llvm.org/D118862
More information about the All-commits
mailing list