llvm-project/clang/lib
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
..
APINotes APINotes: annotate dump methods (NFC) 2021-01-08 20:49:28 +00:00
ARCMigrate ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef 2020-12-09 14:16:05 -08:00
AST [CUDA][HIP] Support accessing static device variable in host code for -fgpu-rdc 2021-02-24 18:23:45 -05:00
ASTMatchers Add code complete support for mapAnyOf 2021-02-07 16:03:05 +00:00
Analysis [MacroExpansionContext] Fix a warning. 2021-02-22 16:54:57 -08:00
Basic Use a fast path when initializing LineOffsetMapping 2021-03-01 10:18:36 +01:00
CodeGen [SEH] capture 'this' 2021-03-01 11:57:35 +01:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format [clang-format] Fix AlignConsecutiveDeclarations handling of pointers 2021-02-27 22:56:36 +01:00
Frontend [clang][cli] Implement '-cuid=' marshalling 2021-02-26 13:17:51 +01:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [X86] Support amx-bf16 intrinsic. 2021-02-25 09:06:48 +08:00
Index [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex Revert "Module: Use FileEntryRef and DirectoryEntryRef in Umbrella, Header, and DirectoryName, NFC" 2021-02-23 09:57:28 -08:00
Parse [OpenCL] Allow taking address of functions as an extension. 2021-02-24 12:32:02 +00:00
Rewrite SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
Sema [clang][Lifetimes] Fix false positive warning from BUG 49342 2021-02-27 08:09:57 -08:00
Serialization Revert "Module: Use FileEntryRef and DirectoryEntryRef in Umbrella, Header, and DirectoryName, NFC" 2021-02-23 09:57:28 -08:00
StaticAnalyzer [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [clangd] Use flags from open files when opening headers they include 2021-03-01 09:43:59 +01:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00