[lld] 010acc5 - [lld/mac] Revert libcompiler_rt.dylib version check change
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 25 03:55:54 PDT 2022
Author: Nico Weber
Date: 2022-04-25T06:55:49-04:00
New Revision: 010acc52a83aa0fa91f573f1e2b072e679d64bea
URL: https://github.com/llvm/llvm-project/commit/010acc52a83aa0fa91f573f1e2b072e679d64bea
DIFF: https://github.com/llvm/llvm-project/commit/010acc52a83aa0fa91f573f1e2b072e679d64bea.diff
LOG: [lld/mac] Revert libcompiler_rt.dylib version check change
This reverts D117925 since it's no longer needed after D124336.
Differential Revision: https://reviews.llvm.org/D124354
Added:
Modified:
lld/MachO/InputFiles.cpp
Removed:
################################################################################
diff --git a/lld/MachO/InputFiles.cpp b/lld/MachO/InputFiles.cpp
index 0798abf28fe86..de3c3ae39bb06 100644
--- a/lld/MachO/InputFiles.cpp
+++ b/lld/MachO/InputFiles.cpp
@@ -1289,11 +1289,10 @@ void DylibFile::parseLoadCommands(MemoryBufferRef mb) {
// Some versions of Xcode ship with .tbd files that don't have the right
// platform settings.
-constexpr std::array<StringRef, 4> skipPlatformChecks{
+constexpr std::array<StringRef, 3> skipPlatformChecks{
"/usr/lib/system/libsystem_kernel.dylib",
"/usr/lib/system/libsystem_platform.dylib",
- "/usr/lib/system/libsystem_pthread.dylib",
- "/usr/lib/system/libcompiler_rt.dylib"};
+ "/usr/lib/system/libsystem_pthread.dylib"};
static bool skipPlatformCheckForCatalyst(const InterfaceFile &interface,
bool explicitlyLinked) {
More information about the llvm-commits
mailing list