llvm-project/clang/lib/Driver
Jez Ng 415c0cd698 [lld-macho] Switch default to new Darwin backend
The new Darwin backend for LLD is now able to link reasonably large
real-world programs on x86_64. For instance, we have achieved
self-hosting for the X86_64 target, where all LLD tests pass when
building lld with itself on macOS. As such, we would like to make it the
default back-end.

The new port is now named `ld64.lld`, and the old port remains
accessible as `ld64.lld.darwinold`

This [annoucement email][1] has some context. (But note that, unlike
what the email says, we are no longer doing this as part of the LLVM 12
branch cut -- instead we will go into LLVM 13.)

Numerous mechanical test changes were required to make this change; in
the interest of creating something that's reviewable on Phabricator,
I've split out the boring changes into a separate diff (D95905). I plan to
merge its contents with those in this diff before landing.

(@gkm made the original draft of this diff, and he has agreed to let me
take over.)

[1]: https://lists.llvm.org/pipermail/llvm-dev/2021-January/147665.html

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D95204
2021-03-01 12:30:10 -05:00
..
ToolChains [Driver] Don't pass -ffile-compilation-dir through to cc1 2021-02-25 23:03:54 -08:00
Action.cpp [CUDA][HIP] Add -fuse-cuid 2021-02-08 22:26:12 -05:00
CMakeLists.txt [OpenMP] Add OpenMP offloading toolchain for AMDGPU 2021-02-03 00:42:52 -05:00
Compilation.cpp [Driver] Add callback to Command execution 2020-11-05 12:21:40 +07:00
DarwinSDKInfo.cpp
Distro.cpp Add support of the next Ubuntu (Ubuntu 21.04 - Hirsute Hippo) 2020-10-29 19:11:32 +01:00
Driver.cpp [Driver] Fix a warning about the the initialization order 2021-02-26 16:32:30 -08:00
DriverOptions.cpp [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
InputInfo.h
Job.cpp [clang-cl] Remove the /fallback option 2021-02-04 10:33:16 +01:00
Multilib.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
OptionUtils.cpp [NFC] Move OptionUtils from Basic to Driver 2019-12-23 08:11:23 -05:00
Phases.cpp [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
SanitizerArgs.cpp [Clang][ASan] Teach Clang to not emit ASan module destructors when compiling with `-mkernel` or `-fapple-kext`. 2021-02-25 12:02:21 -08:00
Tool.cpp Clang Driver: refactor support for writing response files to be 2020-06-29 18:27:02 -04:00
ToolChain.cpp [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
Types.cpp [OpenCL] Add builtin declarations by default. 2021-02-22 12:24:16 +00:00
XRayArgs.cpp [xray] Function coverage groups 2020-09-24 22:09:53 -04:00