Commit Graph

2 Commits

Author SHA1 Message Date
Alex Lorenz 688622ff60 [clang][test] Add -fuse-ld= to test cases added in d238acd113 to resolve test failure with CLANG_DEFAULT_LINKER=lld 2022-02-14 13:21:39 -08:00
Alex Lorenz d238acd113 [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
2022-02-14 12:27:14 -08:00